/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 | 77 float strokeWidth = this->strokeWidth(); local 78 m_innerStrokeRect.inflate(-strokeWidth / 2); 79 m_outerStrokeRect.inflate(strokeWidth / 2); 105 context->strokeRect(m_fillBoundingBox, strokeWidth());
|
H A D | RenderSVGResourceMarker.cpp | 115 AffineTransform RenderSVGResourceMarker::markerTransformation(const FloatPoint& origin, float autoAngle, float strokeWidth) const 126 transform = markerContentTransformation(transform, referencePoint(), useStrokeWidth ? strokeWidth : -1); 144 AffineTransform RenderSVGResourceMarker::markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth) const 150 if (strokeWidth != -1) 151 transformation.scaleNonUniform(strokeWidth, strokeWidth);
|
H A D | RenderSVGResourceMarker.h | 55 AffineTransform markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const; 69 // acording to SVGs markerUnits="strokeWidth" concept, when a strokeWidth value != -1 is passed in. 70 AffineTransform markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth = -1) const;
|
H A D | RenderSVGShape.cpp | 352 FloatRect RenderSVGShape::markerRect(float strokeWidth) const 368 boundaries.unite(marker->markerBoundaries(marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth))); 400 strokeBoundingBox.unite(markerRect(strokeWidth())); 411 float RenderSVGShape::strokeWidth() const function in class:WebCore::RenderSVGShape 415 return style()->svgStyle()->strokeWidth().value(lengthContext); 441 float strokeWidth = this->strokeWidth(); local 445 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;
|
H A D | RenderSVGEllipse.cpp | 73 m_strokeBoundingBox.inflate(strokeWidth() / 2); 128 float halfStrokeWidth = strokeWidth() / 2;
|
H A D | SVGRenderSupport.cpp | 346 context->setStrokeThickness(svgStyle->strokeWidth().value(lengthContext)); 375 strokeData->setThickness(svgStyle->strokeWidth().value(lengthContext));
|
/external/chromium_org/third_party/molokocacao/ |
H A D | NSBezierPath+MCAdditions.h | 17 - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth;
|
/external/skia/tests/ |
H A D | BlurTest.cpp | 20 static const int strokeWidth = 4; variable 50 { 50 + strokeWidth/2, 50 + strokeWidth/2, 100, 100 }, 52 { 40, strokeWidth, 60, 50 - strokeWidth }, 96 paint.setStrokeWidth(SkIntToScalar(strokeWidth));
|
/external/skia/bench/ |
H A D | SkBenchmark.h | 86 strokeWidth = width; 91 return strokeWidth; 151 SkScalar strokeWidth; member in class:SkBenchmark
|
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]) 274 DrawPointsDashingBench(void* param, int dashLength, int strokeWidth, bool doAA) argument 276 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); 277 fStrokeWidth = strokeWidth;
|
/external/skia/gm/ |
H A D | shadows.cpp | 15 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { argument 17 if (strokeWidth < 0) { 21 paint->setStrokeWidth(strokeWidth);
|
H A D | ninepatchstretch.cpp | 40 const SkScalar strokeWidth = SkIntToScalar(6); local 41 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
|
H A D | dashing.cpp | 192 int strokeWidth, 197 p.setStrokeWidth(SkIntToScalar(strokeWidth)); 209 for (int y = 0; y < 100; y += 10*strokeWidth) { 218 for (int x = 0; x < 100; x += 14*strokeWidth) { 188 drawDashedLines(SkCanvas* canvas, SkScalar lineLength, SkScalar phase, SkScalar dashLength, int strokeWidth, bool circles) argument
|
H A D | linepaths.cpp | 28 SkScalar strokeWidth) { 32 paint.setStrokeWidth(strokeWidth); 169 SkScalar strokeWidth) { 173 paint.setStrokeWidth(strokeWidth); 25 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 166 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
|
H A D | quadpaths.cpp | 28 SkScalar strokeWidth) { 32 paint.setStrokeWidth(strokeWidth); 170 SkScalar strokeWidth) { 174 paint.setStrokeWidth(strokeWidth); 25 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 167 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
|
H A D | cubicpaths.cpp | 67 SkScalar strokeWidth) { 71 paint.setStrokeWidth(strokeWidth); 210 SkScalar strokeWidth) { 214 paint.setStrokeWidth(strokeWidth); 64 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 207 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/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawPaint.cpp | 54 SK_MEMBER(strokeWidth, Float), 73 strokeWidth(SK_ScalarNaN), style((SkPaint::Style) -1), 251 if (SkScalarIsNaN(strokeWidth) == false) 252 paint->setStrokeWidth(strokeWidth);
|
H A D | SkDrawPaint.h | 58 SkScalar strokeWidth; member in class:SkDrawPaint
|
/external/skia/src/animator/ |
H A D | SkDrawPaint.cpp | 54 SK_MEMBER(strokeWidth, Float), 73 strokeWidth(SK_ScalarNaN), style((SkPaint::Style) -1), 251 if (SkScalarIsNaN(strokeWidth) == false) 252 paint->setStrokeWidth(strokeWidth);
|
H A D | SkDrawPaint.h | 58 SkScalar strokeWidth; member in class:SkDrawPaint
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrOvalRenderer.cpp | 341 SkScalar strokeWidth = vm.mapRadius(stroke.getWidth()); local 370 if (SkScalarNearlyZero(strokeWidth)) { 373 halfWidth = SkScalarHalf(strokeWidth); 460 SkScalar strokeWidth = stroke.getWidth(); local 461 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY])); 462 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY])); 638 SkScalar strokeWidth = stroke.getWidth(); local 639 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY])); 640 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY]));
|
/external/skia/src/gpu/ |
H A D | GrOvalRenderer.cpp | 341 SkScalar strokeWidth = vm.mapRadius(stroke.getWidth()); local 370 if (SkScalarNearlyZero(strokeWidth)) { 373 halfWidth = SkScalarHalf(strokeWidth); 460 SkScalar strokeWidth = stroke.getWidth(); local 461 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY])); 462 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY])); 638 SkScalar strokeWidth = stroke.getWidth(); local 639 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY])); 640 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY]));
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | SVGCSSComputedStyleDeclaration.cpp | 167 return SVGLength::toCSSPrimitiveValue(svgStyle->strokeWidth());
|