Searched defs:strokeWidth (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
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 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...]
/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 Dglyph_pos.cpp24 GlyphPosGM(SkScalar strokeWidth, SkPaint::Style strokeStyle) argument
25 : fStrokeWidth(strokeWidth)
H A Dninepatchstretch.cpp20 const SkScalar strokeWidth = SkIntToScalar(6); local
21 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
H A Dcubicpaths.cpp75 SkScalar strokeWidth) {
79 paint.setStrokeWidth(strokeWidth);
224 SkScalar strokeWidth) {
228 paint.setStrokeWidth(strokeWidth);
72 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
221 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 Dlinepaths.cpp32 SkScalar strokeWidth) {
36 paint.setStrokeWidth(strokeWidth);
175 SkScalar strokeWidth) {
179 paint.setStrokeWidth(strokeWidth);
29 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
172 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.cpp32 SkScalar strokeWidth) {
36 paint.setStrokeWidth(strokeWidth);
180 SkScalar strokeWidth) {
184 paint.setStrokeWidth(strokeWidth);
29 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
177 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 Ddashing.cpp217 int strokeWidth,
222 p.setStrokeWidth(SkIntToScalar(strokeWidth));
234 for (int y = 0; y < 100; y += 10*strokeWidth) {
243 for (int x = 0; x < 100; x += 14*strokeWidth) {
213 drawDashedLines(SkCanvas* canvas, SkScalar lineLength, SkScalar phase, SkScalar dashLength, int strokeWidth, bool circles) argument
/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;
H A Dcubicpaths.cpp75 SkScalar strokeWidth) {
79 paint.setStrokeWidth(strokeWidth);
222 SkScalar strokeWidth) {
226 paint.setStrokeWidth(strokeWidth);
72 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
219 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 Dlinepaths.cpp32 SkScalar strokeWidth) {
36 paint.setStrokeWidth(strokeWidth);
173 SkScalar strokeWidth) {
177 paint.setStrokeWidth(strokeWidth);
29 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
170 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.cpp32 SkScalar strokeWidth) {
36 paint.setStrokeWidth(strokeWidth);
178 SkScalar strokeWidth) {
182 paint.setStrokeWidth(strokeWidth);
29 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
175 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 Ddashing.cpp204 int strokeWidth,
209 p.setStrokeWidth(SkIntToScalar(strokeWidth));
221 for (int y = 0; y < 100; y += 10*strokeWidth) {
230 for (int x = 0; x < 100; x += 14*strokeWidth) {
200 drawDashedLines(SkCanvas* canvas, SkScalar lineLength, SkScalar phase, SkScalar dashLength, int strokeWidth, bool circles) argument
/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
/external/chromium_org/third_party/skia/samplecode/
H A DSampleClip.cpp61 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { argument
66 paint.setStrokeWidth(strokeWidth);
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawPaint.h58 SkScalar strokeWidth; member in class:SkDrawPaint
/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/skia/samplecode/
H A DSampleClip.cpp61 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { argument
66 paint.setStrokeWidth(strokeWidth);
/external/skia/src/animator/
H A DSkDrawPaint.h58 SkScalar strokeWidth; member in class:SkDrawPaint
/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 DGrStencilAndCoverTextContext.cpp290 SkScalar strokeWidth = SK_Scalar1 / local
293 gpuStroke.setStrokeStyle(strokeWidth, false /*strokeAndFill*/);

Completed in 1654 milliseconds

12