/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGPath.cpp | 60 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 D | RenderSVGRect.cpp | 81 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 D | RenderSVGResourceMarker.cpp | 118 AffineTransform RenderSVGResourceMarker::markerTransformation(const FloatPoint& origin, float autoAngle, float strokeWidth) const 129 transform = markerContentTransformation(transform, referencePoint(), useStrokeWidth ? strokeWidth : -1); 149 AffineTransform RenderSVGResourceMarker::markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth) const 155 if (strokeWidth != -1) 156 transformation.scaleNonUniform(strokeWidth, strokeWidth);
|
H A D | RenderSVGResourceMarker.h | 53 AffineTransform markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const; 67 // acording to SVGs markerUnits="strokeWidth" concept, when a strokeWidth value != -1 is passed in. 68 AffineTransform markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth = -1) const;
|
H A D | RenderSVGShape.cpp | 354 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_paintInvalidationBoundingBox.isEmpty()) 415 float RenderSVGShape::strokeWidth() const function in class:blink::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 D | RenderSVGShape.h | 69 float strokeWidth() const; 107 FloatRect markerRect(float strokeWidth) const;
|
/external/chromium_org/third_party/molokocacao/ |
H A D | NSBezierPath+MCAdditions.h | 17 - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth;
|
/external/skia/src/gpu/effects/ |
H A D | GrDashingEffect.h | 34 SkScalar strokeWidth);
|
H A D | GrDashingEffect.cpp | 295 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/WebKit/Source/core/rendering/ |
H A D | TextPainter.h | 45 float strokeWidth; member in struct:blink::TextPainter::Style 53 && strokeWidth == other.strokeWidth
|
H A D | TextPainter.cpp | 75 if (textStyle.strokeWidth > 0) { 91 if (textStyle.strokeWidth != context->strokeThickness()) 92 context->setStrokeThickness(textStyle.strokeWidth); 119 textStyle.strokeWidth = style->textStrokeWidth(); 125 textStyle.strokeWidth = style->textStrokeWidth(); 162 selectionStyle.strokeWidth = pseudoStyle->textStrokeWidth();
|
/external/chromium_org/third_party/skia/gm/ |
H A D | stroketext.cpp | 27 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, SkScalar strokeWidth) { argument 31 if (strokeWidth > 0) { 39 p.setStrokeWidth(strokeWidth);
|
H A D | shadows.cpp | 16 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { argument 18 if (strokeWidth < 0) { 22 paint->setStrokeWidth(strokeWidth);
|
H A D | ninepatchstretch.cpp | 20 const SkScalar strokeWidth = SkIntToScalar(6); local 21 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
|
/external/skia/gm/ |
H A D | stroketext.cpp | 27 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, SkScalar strokeWidth) { argument 31 if (strokeWidth > 0) { 39 p.setStrokeWidth(strokeWidth);
|
H A D | shadows.cpp | 16 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { argument 18 if (strokeWidth < 0) { 22 paint->setStrokeWidth(strokeWidth);
|
H A D | ninepatchstretch.cpp | 20 const SkScalar strokeWidth = SkIntToScalar(6); local 21 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkDrawProcs.h | 62 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/effects/ |
H A D | GrDashingEffect.h | 41 SkScalar strokeWidth,
|
H A D | GrDashingEffect.cpp | 300 SkScalar strokeWidth = srcStrokeWidth * perpScale; local 302 if ((strokeWidth < 1.f && !useAA) || 0.f == strokeWidth) { 303 strokeWidth = 1.f; 306 SkScalar halfDevStroke = strokeWidth * 0.5f; 310 devIntervals[0] += strokeWidth; 311 devIntervals[1] -= strokeWidth; 353 GrDashingEffect::Create(edgeType, devInfo, strokeWidth, capType))->unref(); 428 * interval). The radius of the dots is given by the strokeWidth and the spacing by the DashInfo. 624 SkScalar strokeWidth local 798 Create(GrPrimitiveEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth) argument 818 DashingLineEffect(GrPrimitiveEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth) argument 847 SkScalar strokeWidth = random->nextRangeScalar(0, 100.f); local 861 Create(GrPrimitiveEdgeType edgeType, const SkPathEffect::DashInfo& info, SkScalar strokeWidth, GrDashingEffect::DashCap cap) argument [all...] |
/external/skia/src/core/ |
H A D | SkDrawProcs.h | 62 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 D | GrOvalRenderer.cpp | 536 SkScalar strokeWidth = vm.mapRadius(stroke.getWidth()); local 563 if (SkScalarNearlyZero(strokeWidth)) { 566 halfWidth = SkScalarHalf(strokeWidth); 658 SkScalar strokeWidth = stroke.getWidth(); local 659 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY])); 660 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY])); 784 SkScalar strokeWidth = stroke.getWidth(); local 786 if (SkScalarNearlyZero(strokeWidth)) { 787 strokeWidth = SK_ScalarHalf; 789 strokeWidth * 1005 SkScalar strokeWidth = stroke.getWidth(); local [all...] |
/external/skia/src/gpu/ |
H A D | GrOvalRenderer.cpp | 505 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 D | DashBench.cpp | 25 * 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 D | DashBench.cpp | 25 * 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;
|