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

12

/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.cpp77 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 DRenderSVGResourceMarker.cpp115 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 DRenderSVGResourceMarker.h55 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 DRenderSVGShape.cpp352 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 DRenderSVGShape.h69 float strokeWidth() const;
107 FloatRect markerRect(float strokeWidth) const;
H A DRenderSVGEllipse.cpp73 m_strokeBoundingBox.inflate(strokeWidth() / 2);
128 float halfStrokeWidth = strokeWidth() / 2;
H A DSVGRenderSupport.cpp346 context->setStrokeThickness(svgStyle->strokeWidth().value(lengthContext));
375 strokeData->setThickness(svgStyle->strokeWidth().value(lengthContext));
/external/chromium_org/third_party/molokocacao/
H A DNSBezierPath+MCAdditions.h17 - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth;
/external/skia/tests/
H A DBlurTest.cpp20 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 DSkBenchmark.h86 strokeWidth = width;
91 return strokeWidth;
151 SkScalar strokeWidth; member in class:SkBenchmark
H A DDashBench.cpp25 * 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 Dshadows.cpp15 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { argument
17 if (strokeWidth < 0) {
21 paint->setStrokeWidth(strokeWidth);
H A Dninepatchstretch.cpp40 const SkScalar strokeWidth = SkIntToScalar(6); local
41 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
H A Ddashing.cpp192 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 Dlinepaths.cpp28 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 Dquadpaths.cpp28 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 Dcubicpaths.cpp67 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 DSkDrawPaint.cpp54 SK_MEMBER(strokeWidth, Float),
73 strokeWidth(SK_ScalarNaN), style((SkPaint::Style) -1),
251 if (SkScalarIsNaN(strokeWidth) == false)
252 paint->setStrokeWidth(strokeWidth);
H A DSkDrawPaint.h58 SkScalar strokeWidth; member in class:SkDrawPaint
/external/skia/src/animator/
H A DSkDrawPaint.cpp54 SK_MEMBER(strokeWidth, Float),
73 strokeWidth(SK_ScalarNaN), style((SkPaint::Style) -1),
251 if (SkScalarIsNaN(strokeWidth) == false)
252 paint->setStrokeWidth(strokeWidth);
H A DSkDrawPaint.h58 SkScalar strokeWidth; member in class:SkDrawPaint
/external/chromium_org/third_party/skia/src/gpu/
H A DGrOvalRenderer.cpp341 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 DGrOvalRenderer.cpp341 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 DSVGCSSComputedStyleDeclaration.cpp167 return SVGLength::toCSSPrimitiveValue(svgStyle->strokeWidth());

Completed in 1084 milliseconds

12