Home
last modified time | relevance | path

Searched refs:strokeData (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGShape.cpp93 StrokeData strokeData; in shapeDependentStrokeContains() local
94 SVGRenderSupport::applyStrokeStyleToStrokeData(&strokeData, style(), this); in shapeDependentStrokeContains()
100 return usePath->strokeContains(nonScalingTransform.mapPoint(point), strokeData); in shapeDependentStrokeContains()
103 return m_path->strokeContains(point, strokeData); in shapeDependentStrokeContains()
386 StrokeData strokeData; in calculateStrokeBoundingBox() local
387 SVGRenderSupport::applyStrokeStyleToStrokeData(&strokeData, style(), this); in calculateStrokeBoundingBox()
392 FloatRect strokeBoundingRect = usePath->strokeBoundingRect(strokeData); in calculateStrokeBoundingBox()
397 strokeBoundingBox.unite(path().strokeBoundingRect(strokeData)); in calculateStrokeBoundingBox()
DSVGRenderSupport.cpp371 void SVGRenderSupport::applyStrokeStyleToStrokeData(StrokeData* strokeData, const RenderStyle* styl… in applyStrokeStyleToStrokeData() argument
373 ASSERT(strokeData); in applyStrokeStyleToStrokeData()
383 strokeData->setThickness(svgStyle->strokeWidth()->value(lengthContext)); in applyStrokeStyleToStrokeData()
384 strokeData->setLineCap(svgStyle->capStyle()); in applyStrokeStyleToStrokeData()
385 strokeData->setLineJoin(svgStyle->joinStyle()); in applyStrokeStyleToStrokeData()
386 strokeData->setMiterLimit(svgStyle->strokeMiterLimit()); in applyStrokeStyleToStrokeData()
397 strokeData->setLineDash(dashArray, svgStyle->strokeDashOffset()->value(lengthContext)); in applyStrokeStyleToStrokeData()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.h122 float strokeThickness() const { return immutableState()->strokeData().thickness(); } in strokeThickness()
125 StrokeStyle strokeStyle() const { return immutableState()->strokeData().style(); } in strokeStyle()
128 Color strokeColor() const { return immutableState()->strokeData().color(); } in strokeColor()
132 Pattern* strokePattern() const { return immutableState()->strokeData().pattern(); } in strokePattern()
135 Gradient* strokeGradient() const { return immutableState()->strokeData().gradient(); } in strokeGradient()
DPath.cpp74 bool Path::strokeContains(const FloatPoint& point, const StrokeData& strokeData) const in strokeContains()
77 strokeData.setupPaint(&paint); in strokeContains()
89 FloatRect Path::strokeBoundingRect(const StrokeData& strokeData) const in strokeBoundingRect()
92 strokeData.setupPaint(&paint); in strokeBoundingRect()
DGraphicsContextState.h72 const StrokeData& strokeData() const { return m_strokeData; } in strokeData() function
DGraphicsContext.cpp910 if (immutableState()->strokeData().style() != NoStroke in drawRect()
911 && immutableState()->strokeData().color().alpha()) { in drawRect()
1300 immutableState()->strokeData().setupPaintDashPathEffect(&paint, 0); in strokeRect()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp1161 StrokeData strokeData; in isPointInStrokeInternal() local
1162 strokeData.setThickness(lineWidth()); in isPointInStrokeInternal()
1163 strokeData.setLineCap(getLineCap()); in isPointInStrokeInternal()
1164 strokeData.setLineJoin(getLineJoin()); in isPointInStrokeInternal()
1165 strokeData.setMiterLimit(miterLimit()); in isPointInStrokeInternal()
1166 strokeData.setLineDash(getLineDash(), lineDashOffset()); in isPointInStrokeInternal()
1167 return path.strokeContains(transformedPoint, strokeData); in isPointInStrokeInternal()
2343 StrokeData strokeData; in drawFocusRing() local
2344 strokeData.setThickness(focusRingWidth); in drawFocusRing()
2347 if (!computeDirtyRect(path.strokeBoundingRect(strokeData), &dirtyRect)) in drawFocusRing()