Searched refs:strokeWidth (Results 1 - 25 of 70) 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);
149 AffineTransform RenderSVGResourceMarker::markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth) const
155 if (strokeWidth != -1)
156 transformation.scaleNonUniform(strokeWidth, strokeWidth);
H A DRenderSVGResourceMarker.h53 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 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_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 DRenderSVGShape.h69 float strokeWidth() const;
107 FloatRect markerRect(float strokeWidth) const;
/external/chromium_org/third_party/molokocacao/
H A DNSBezierPath+MCAdditions.h17 - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth;
/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/WebKit/Source/core/rendering/
H A DTextPainter.h45 float strokeWidth; member in struct:blink::TextPainter::Style
53 && strokeWidth == other.strokeWidth
H A DTextPainter.cpp75 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 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/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/chromium_org/third_party/skia/src/gpu/effects/
H A DGrDashingEffect.h41 SkScalar strokeWidth,
H A DGrDashingEffect.cpp300 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 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.cpp536 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 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 475 milliseconds

123