Searched refs:strokeWidth (Results 1 - 25 of 69) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGPath.cpp60 float strokeWidth = this->strokeWidth(); local
62 strokeBoundingBox.unite(zeroLengthSubpathRect(m_zeroLengthLinecapLocations[i], strokeWidth));
112 float strokeWidth = this->strokeWidth(); local
114 if (zeroLengthSubpathRect(m_zeroLengthLinecapLocations[i], strokeWidth).contains(point))
119 if (radiusVector.lengthSquared() < strokeWidth * strokeWidth * .25f)
139 tempPath.addRect(zeroLengthSubpathRect(linecapPosition, this->strokeWidth()));
141 tempPath.addEllipse(zeroLengthSubpathRect(linecapPosition, this->strokeWidth()));
[all...]
H A DRenderSVGRect.cpp81 float strokeWidth = this->strokeWidth(); local
82 m_innerStrokeRect.inflate(-strokeWidth / 2);
83 m_outerStrokeRect.inflate(strokeWidth / 2);
109 context->strokeRect(m_fillBoundingBox, strokeWidth());
H A DRenderSVGResourceMarker.cpp118 AffineTransform RenderSVGResourceMarker::markerTransformation(const FloatPoint& origin, float autoAngle, float strokeWidth) const
129 transform = markerContentTransformation(transform, referencePoint(), useStrokeWidth ? strokeWidth : -1);
152 AffineTransform RenderSVGResourceMarker::markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth) const
158 if (strokeWidth != -1)
159 transformation.scaleNonUniform(strokeWidth, strokeWidth);
H A DRenderSVGResourceMarker.h53 AffineTransform markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const;
66 // acording to SVGs markerUnits="strokeWidth" concept, when a strokeWidth value != -1 is passed in.
67 AffineTransform markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth = -1) const;
H A DRenderSVGShape.cpp354 FloatRect RenderSVGShape::markerRect(float strokeWidth) const
370 boundaries.unite(marker->markerBoundaries(marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth)));
402 strokeBoundingBox.unite(markerRect(strokeWidth()));
410 if (strokeWidth() < 1.0f && !m_repaintBoundingBox.isEmpty())
415 float RenderSVGShape::strokeWidth() const function in class:WebCore::RenderSVGShape
418 return style()->svgStyle()->strokeWidth()->value(lengthContext);
444 float strokeWidth = this->strokeWidth(); local
448 marker->draw(paintInfo, marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth));
H A DRenderSVGShape.h68 float strokeWidth() const;
106 FloatRect markerRect(float strokeWidth) const;
H A DRenderSVGEllipse.cpp75 m_strokeBoundingBox.inflate(strokeWidth() / 2);
128 float halfStrokeWidth = strokeWidth() / 2;
/external/chromium_org/third_party/molokocacao/
H A DNSBezierPath+MCAdditions.h17 - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth;
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrDashingEffect.h34 SkScalar strokeWidth);
H A DGrDashingEffect.cpp295 SkScalar strokeWidth = srcStrokeWidth * perpScale; local
297 if ((strokeWidth < 1.f && !useAA) || 0.f == strokeWidth) {
298 strokeWidth = 1.f;
301 SkScalar halfDevStroke = strokeWidth * 0.5f;
305 devIntervals[0] += strokeWidth;
306 devIntervals[1] -= strokeWidth;
345 GrDashingEffect::Create(edgeType, devInfo, strokeWidth), 1)->unref();
421 SkScalar strokeWidth);
440 DashingLineEffect(GrEffectEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth);
561 Create(GrEffectEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth) argument
581 DashingLineEffect(GrEffectEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth) argument
610 SkScalar strokeWidth = random->nextRangeScalar(0, 100.f); local
625 Create(GrEffectEdgeType edgeType, const SkPathEffect::DashInfo& info, SkScalar strokeWidth) argument
[all...]
/external/skia/src/gpu/effects/
H A DGrDashingEffect.h34 SkScalar strokeWidth);
H A DGrDashingEffect.cpp295 SkScalar strokeWidth = srcStrokeWidth * perpScale; local
297 if ((strokeWidth < 1.f && !useAA) || 0.f == strokeWidth) {
298 strokeWidth = 1.f;
301 SkScalar halfDevStroke = strokeWidth * 0.5f;
305 devIntervals[0] += strokeWidth;
306 devIntervals[1] -= strokeWidth;
345 GrDashingEffect::Create(edgeType, devInfo, strokeWidth), 1)->unref();
421 SkScalar strokeWidth);
440 DashingLineEffect(GrEffectEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth);
561 Create(GrEffectEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth) argument
581 DashingLineEffect(GrEffectEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth) argument
610 SkScalar strokeWidth = random->nextRangeScalar(0, 100.f); local
625 Create(GrEffectEdgeType edgeType, const SkPathEffect::DashInfo& info, SkScalar strokeWidth) argument
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dstroketext.cpp27 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, SkScalar strokeWidth) { argument
31 if (strokeWidth > 0) {
39 p.setStrokeWidth(strokeWidth);
H A Dshadows.cpp16 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { argument
18 if (strokeWidth < 0) {
22 paint->setStrokeWidth(strokeWidth);
H A Dninepatchstretch.cpp20 const SkScalar strokeWidth = SkIntToScalar(6); local
21 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
H A Dlinepaths.cpp32 SkScalar strokeWidth) {
36 paint.setStrokeWidth(strokeWidth);
173 SkScalar strokeWidth) {
177 paint.setStrokeWidth(strokeWidth);
29 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument
170 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument
/external/skia/gm/
H A Dstroketext.cpp27 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, SkScalar strokeWidth) { argument
31 if (strokeWidth > 0) {
39 p.setStrokeWidth(strokeWidth);
H A Dshadows.cpp16 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { argument
18 if (strokeWidth < 0) {
22 paint->setStrokeWidth(strokeWidth);
H A Dninepatchstretch.cpp20 const SkScalar strokeWidth = SkIntToScalar(6); local
21 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
/external/chromium_org/third_party/skia/src/core/
H A DSkDrawProcs.h62 bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix&,
77 SkScalar strokeWidth = paint.getStrokeWidth(); local
78 if (0 == strokeWidth) {
87 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
/external/skia/src/core/
H A DSkDrawProcs.h62 bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix&,
77 SkScalar strokeWidth = paint.getStrokeWidth(); local
78 if (0 == strokeWidth) {
87 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrOvalRenderer.cpp505 SkScalar strokeWidth = vm.mapRadius(stroke.getWidth()); local
532 if (SkScalarNearlyZero(strokeWidth)) {
535 halfWidth = SkScalarHalf(strokeWidth);
628 SkScalar strokeWidth = stroke.getWidth(); local
629 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY]));
630 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY]));
756 SkScalar strokeWidth = stroke.getWidth(); local
758 if (SkScalarNearlyZero(strokeWidth)) {
759 strokeWidth = SK_ScalarHalf;
761 strokeWidth *
979 SkScalar strokeWidth = stroke.getWidth(); local
[all...]
/external/skia/src/gpu/
H A DGrOvalRenderer.cpp505 SkScalar strokeWidth = vm.mapRadius(stroke.getWidth()); local
532 if (SkScalarNearlyZero(strokeWidth)) {
535 halfWidth = SkScalarHalf(strokeWidth);
628 SkScalar strokeWidth = stroke.getWidth(); local
629 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY]));
630 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY]));
756 SkScalar strokeWidth = stroke.getWidth(); local
758 if (SkScalarNearlyZero(strokeWidth)) {
759 strokeWidth = SK_ScalarHalf;
761 strokeWidth *
979 SkScalar strokeWidth = stroke.getWidth(); local
[all...]
/external/chromium_org/third_party/skia/bench/
H A DDashBench.cpp25 * 4. dots [1,1] ([N,N] where N=strokeWidth?) or arbitrary (e.g. [2,1] or [1,2,3,2])
259 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) argument
261 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
262 fStrokeWidth = strokeWidth;
386 DashGridBench(int dashLength, int strokeWidth, bool doAA) { argument
387 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
388 fStrokeWidth = strokeWidth;
/external/skia/bench/
H A DDashBench.cpp25 * 4. dots [1,1] ([N,N] where N=strokeWidth?) or arbitrary (e.g. [2,1] or [1,2,3,2])
259 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) argument
261 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
262 fStrokeWidth = strokeWidth;
386 DashGridBench(int dashLength, int strokeWidth, bool doAA) { argument
387 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
388 fStrokeWidth = strokeWidth;

Completed in 376 milliseconds

123