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

/external/webkit/WebCore/rendering/
H A DRenderSVGViewportContainer.cpp51 AffineTransform RenderSVGViewportContainer::markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth) const
57 if (strokeWidth != -1)
58 transformation.scaleNonUniform(strokeWidth, strokeWidth);
H A DRenderSVGViewportContainer.h41 // acording to SVGs markerUnits="strokeWidth" concept, when a strokeWidth value != -1 is passed in.
42 AffineTransform markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth = -1) const;
H A DSVGMarkerLayoutInfo.h50 FloatRect calculateBoundaries(SVGResourceMarker* startMarker, SVGResourceMarker* midMarker, SVGResourceMarker* endMarker, float strokeWidth, const Path&);
H A DSVGMarkerLayoutInfo.cpp69 FloatRect SVGMarkerLayoutInfo::calculateBoundaries(SVGResourceMarker* startMarker, SVGResourceMarker* midMarker, SVGResourceMarker* endMarker, float strokeWidth, const Path& path) argument
73 m_strokeWidth = strokeWidth;
H A DRenderSVGText.cpp188 // SVG needs to include the strokeWidth(), not the textStrokeWidth().
190 float strokeWidth = SVGRenderStyle::cssPrimitiveToLength(this, style()->svgStyle()->strokeWidth(), 1.0f); local
198 strokeWidth /= scale;
202 repaintRect.inflate(strokeWidth);
H A DRenderPath.cpp324 float strokeWidth = SVGRenderStyle::cssPrimitiveToLength(this, svgStyle->strokeWidth(), 1.0f); local
325 m_cachedLocalMarkerBBox = m_markerLayoutInfo.calculateBoundaries(startMarker, midMarker, endMarker, strokeWidth, m_path);
H A DSVGRenderTreeAsText.cpp277 double strokeWidth = SVGRenderStyle::cssPrimitiveToLength(&path, svgStyle->strokeWidth(), 1.0f); local
280 writeIfNotDefault(ts, "stroke width", strokeWidth, 1.0);
H A DInlineTextBox.cpp455 float strokeWidth = pseudoStyle->textStrokeWidth(); local
456 if (strokeWidth != selectionStrokeWidth) {
459 selectionStrokeWidth = strokeWidth;
H A DSVGInlineTextBox.cpp530 float thickness = SVGRenderStyle::cssPrimitiveToLength(object, object->style()->svgStyle()->strokeWidth(), 1.0f);
/external/webkit/WebCore/svg/graphics/
H A DSVGResourceMarker.cpp51 AffineTransform SVGResourceMarker::markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const
58 transform = m_renderer->markerContentTransformation(transform, m_referencePoint, m_useStrokeWidth ? strokeWidth : -1);
H A DSVGResourceMarker.h58 AffineTransform markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const;
H A DSVGPaintServer.cpp156 context->setStrokeThickness(SVGRenderStyle::cssPrimitiveToLength(object, style->svgStyle()->strokeWidth(), 1.0f));
/external/skia/src/animator/
H A DSkDrawPaint.cpp62 SK_MEMBER(strokeWidth, Float),
81 strokeWidth(SK_ScalarNaN), style((SkPaint::Style) -1),
259 if (SkScalarIsNaN(strokeWidth) == false)
260 paint->setStrokeWidth(strokeWidth);
H A DSkDrawPaint.h66 SkScalar strokeWidth; member in class:SkDrawPaint
/external/webkit/WebCore/platform/graphics/
H A DGraphicsContext.cpp515 void GraphicsContext::adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, const StrokeStyle& penStyle) argument
523 p1.setY(p1.y() + strokeWidth);
524 p2.setY(p2.y() - strokeWidth);
526 p1.setX(p1.x() + strokeWidth);
527 p2.setX(p2.x() - strokeWidth);
531 if (static_cast<int>(strokeWidth) % 2) { //odd
H A DGraphicsContext.h450 static void adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, const StrokeStyle&);
/external/skia/src/core/
H A DSkPictureFlat.cpp173 SkScalar strokeWidth = buffer.readScalar(); local
174 if (strokeWidth != defaultPaint.getStrokeWidth())
176 "strokeWidth:%g ", SkScalarToFloat(strokeWidth));
H A DSkPaint.cpp1272 SkScalar strokeWidth = paint.getStrokeWidth();
1287 strokeWidth = extra; // ignore paint's strokeWidth if it was "fill"
1290 strokeWidth += extra;
1297 if (style != SkPaint::kFill_Style && strokeWidth > 0)
1299 rec->fFrameWidth = strokeWidth;
H A DSkPicturePlayback.cpp1042 SkScalar strokeWidth = paint.getStrokeWidth(); local
1043 if (strokeWidth != defaultPaint.getStrokeWidth())
1045 "{kStrokeWidth, %g}, ", SkScalarToFloat(strokeWidth));
/external/webkit/WebCore/css/
H A DSVGCSSComputedStyleDeclaration.cpp145 return svgStyle->strokeWidth();
H A DSVGCSSStyleSelector.cpp249 HANDLE_INHERIT_AND_INITIAL(strokeWidth, StrokeWidth)
/external/webkit/WebCore/rendering/style/
H A DSVGRenderStyle.h86 SVG_RS_DEFINE_ATTRIBUTE_DATAREF_WITH_INITIAL_REFCOUNTED(CSSValue, stroke, width, StrokeWidth, strokeWidth, 0)

Completed in 308 milliseconds