Home
last modified time | relevance | path

Searched refs:stroke (Results 1 – 25 of 530) sorted by relevance

12345678910>>...22

/third_party/libxml2/test/
Dsvg32 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
5 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
8 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
11 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
14 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
17 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
20 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
23 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
26 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
29 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
[all …]
/third_party/python/Doc/library/
Dpathlib-inheritance.svg1stroke="none" stroke-linecap="square" stroke-miterlimit="10" xmlns:xlink="http://www.w3.org/1999/x…
/third_party/flutter/skia/src/gpu/gl/
DGrGLPath.cpp255 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const SkStrokeRec& stroke) { in InitPathObjectStroke() argument
256 SkASSERT(!stroke.isHairlineStyle()); in InitPathObjectStroke()
258 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth()))); in InitPathObjectStroke()
260 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter()))); in InitPathObjectStroke()
261 GrGLenum join = join_to_gl_join(stroke.getJoin()); in InitPathObjectStroke()
263 GrGLenum cap = cap_to_gl_cap(stroke.getCap()); in InitPathObjectStroke()
283 SkStrokeRec stroke(SkStrokeRec::kFill_InitStyle); in GrGLPath() local
289 if (style.applyPathEffectToPath(tmpPath.init(), &stroke, *skPath, SK_Scalar1)) { in GrGLPath()
293 stroke = style.strokeRec(); in GrGLPath()
297 if (stroke.needToApply() && stroke.getCap() != SkPaint::kButt_Cap) { in GrGLPath()
[all …]
/third_party/skia/gm/
Dcrbug_996140.cpp59 SkPaint stroke; variable
60 stroke.setColor(SK_ColorBLUE);
61 stroke.setStrokeWidth(1.f);
62 stroke.setStyle(SkPaint::kStroke_Style);
63 stroke.setAntiAlias(true);
77 canvas->drawPath(path, stroke);
Dcroppedrects.cpp51 SkPaint stroke; in onOnceBeforeDraw() local
52 stroke.setStyle(SkPaint::kStroke_Style); in onOnceBeforeDraw()
53 stroke.setStrokeWidth(kStrokeWidth); in onOnceBeforeDraw()
54 stroke.setColor(0xff008800); in onOnceBeforeDraw()
55 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw()
Dskbug_257.cpp133 SkPaint stroke; variable
134 stroke.setStyle(SkPaint::kStroke_Style);
135 stroke.setStrokeWidth(5);
136 stroke.setColor(SK_ColorCYAN);
137 canvas->drawCircle(size / 2, size / 2, size / 2 - 10, stroke);
138 canvas->drawCircle(3 * size / 2, size / 2, size / 2 - 10, stroke);
139 canvas->drawCircle(size / 2, 384, size / 2 - 10, stroke);
/third_party/libxml2/result/
Dsvg3.sax6 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
16 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
26 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
36 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
46 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
56 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
66 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
76 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
86 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
96 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
[all …]
Dsvg2.sax8 SAX.startElement(g, style='stroke: #000000')
22 SAX.startElement(g, style='stroke: #800040')
32 SAX.startElement(g, style='stroke: #000000')
38 SAX.startElement(g, style='stroke: #0000ff')
90 SAX.startElement(g, style='stroke: #000000')
101 SAX.startElement(g, style='stroke: #000000')
129 SAX.startElement(g, style='stroke: #008080')
140 SAX.startElement(g, style='stroke: #000000')
156 SAX.startElement(g, style='stroke: #000000')
/third_party/flutter/skia/experimental/c-api-example/
Dskia-c-example.c46 sk_paint_t* stroke = sk_paint_new(); in draw() local
47 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00)); in draw()
48 sk_paint_set_antialias(stroke, true); in draw()
49 sk_paint_set_stroke(stroke, true); in draw()
50 sk_paint_set_stroke_width(stroke, 5.0f); in draw()
57 sk_canvas_draw_path(canvas, path, stroke); in draw()
68 sk_paint_delete(stroke); in draw()
/third_party/skia/experimental/c-api-example/
Dskia-c-example.c48 sk_paint_t* stroke = sk_paint_new(); in draw() local
49 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00)); in draw()
50 sk_paint_set_antialias(stroke, true); in draw()
51 sk_paint_set_stroke(stroke, true); in draw()
52 sk_paint_set_stroke_width(stroke, 5.0f); in draw()
61 sk_canvas_draw_path(canvas, path, stroke); in draw()
73 sk_paint_delete(stroke); in draw()
/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader.cpp19 const SkStrokeRec& stroke, in GrStrokeTessellationShader() argument
29 , fStroke(stroke) in GrStrokeTessellationShader()
323 if (!shader.stroke().isHairlineStyle()) { in emitTessellationCode()
359 const auto& stroke = shader.stroke(); in setData() local
364 if (!stroke.isHairlineStyle()) { in setData()
366 stroke.getWidth()); in setData()
372 float strokeRadius = (stroke.isHairlineStyle()) ? .5f : stroke.getWidth() * .5; in setData()
376 skgpu::GetJoinType(stroke), // JOIN_TYPE in setData()
379 SkASSERT(!stroke.isHairlineStyle()); in setData()
/third_party/skia/src/gpu/tessellate/
DTessellation.h92 static float GetJoinType(const SkStrokeRec& stroke) { in GR_MAKE_BITFIELD_CLASS_OPS()
93 switch (stroke.getJoin()) { in GR_MAKE_BITFIELD_CLASS_OPS()
96 case SkPaint::kMiter_Join: SkASSERT(stroke.getMiter() >= 0); return stroke.getMiter(); in GR_MAKE_BITFIELD_CLASS_OPS()
107 void set(const SkStrokeRec& stroke) { in set()
108 fRadius = stroke.getWidth() * .5f; in set()
109 fJoinType = GetJoinType(stroke); in set()
DStrokeHardwareTessellator.cpp141 void updateDynamicStroke(const SkStrokeRec& stroke) { in updateDynamicStroke() argument
143 fDynamicStroke.set(stroke); in updateDynamicStroke()
245 const SkStrokeRec& stroke) { in writeClose() argument
254 this->writeCaps(contourEndpoint, viewMatrix, stroke); in writeClose()
266 void writeCaps(SkPoint contourEndpoint, const SkMatrix& viewMatrix, const SkStrokeRec& stroke) { in writeCaps() argument
272 if (!stroke.isHairlineStyle()) { in writeCaps()
302 switch (stroke.getCap()) { in writeCaps()
308 JoinType roundCapJoinType = (stroke.getJoin() == SkPaint::kRound_Join) in writeCaps()
318 auto strokeJoinType = JoinType(stroke.getJoin()); in writeCaps()
320 if (!stroke.isHairlineStyle()) { in writeCaps()
[all …]
/third_party/skia/src/gpu/
DGrUtil.cpp71 const SkStrokeRec& stroke = style.strokeRec(); in GrIsStrokeHairlineOrEquivalent() local
72 if (stroke.isHairlineStyle()) { in GrIsStrokeHairlineOrEquivalent()
78 return stroke.getStyle() == SkStrokeRec::kStroke_Style && in GrIsStrokeHairlineOrEquivalent()
79 SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage); in GrIsStrokeHairlineOrEquivalent()
/third_party/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js311 ctx.stroke();
316 ctx.stroke();
319 ctx.stroke();
322 ctx.stroke();
325 ctx.stroke();
328 ctx.stroke();
331 ctx.stroke();
370 ctx.stroke();
380 ctx.stroke();
399 ctx.stroke();
[all …]
/third_party/skia/src/gpu/ops/
DTessellationPathRenderer.cpp129 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath() local
131 if (stroke.isHairlineStyle()) { in onDrawPath()
134 inflationRadius = SkStrokeRec::GetInflationRadius(stroke.getJoin(), in onDrawPath()
135 stroke.getMiter(), in onDrawPath()
136 stroke.getCap(), 1); in onDrawPath()
138 inflationRadius = stroke.getInflationRadius() * args.fViewMatrix->getMaxScale(); in onDrawPath()
149 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath() local
150 SkASSERT(stroke.getStyle() != SkStrokeRec::kStrokeAndFill_Style); in onDrawPath()
152 path, stroke, std::move(args.fPaint)); in onDrawPath()
/third_party/flutter/skia/gm/
Dskbug_257.cpp132 SkPaint stroke; variable
133 stroke.setStyle(SkPaint::kStroke_Style);
134 stroke.setStrokeWidth(5);
135 stroke.setColor(SK_ColorCYAN);
136 canvas->drawCircle(size / 2, size / 2, size / 2 - 10, stroke);
137 canvas->drawCircle(3 * size / 2, size / 2, size / 2 - 10, stroke);
138 canvas->drawCircle(size / 2, 384, size / 2 - 10, stroke);
Dcroppedrects.cpp52 SkPaint stroke; in onOnceBeforeDraw() local
53 stroke.setStyle(SkPaint::kStroke_Style); in onOnceBeforeDraw()
54 stroke.setStrokeWidth(kStrokeWidth); in onOnceBeforeDraw()
55 stroke.setColor(0xff008800); in onOnceBeforeDraw()
56 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw()
/third_party/flutter/skia/src/gpu/ops/
DGrStrokeRectOp.cpp29 inline static bool allowed_stroke(const SkStrokeRec& stroke, GrAA aa, bool* isMiter) { in allowed_stroke() argument
30 SkASSERT(stroke.getStyle() == SkStrokeRec::kStroke_Style || in allowed_stroke()
31 stroke.getStyle() == SkStrokeRec::kHairline_Style); in allowed_stroke()
33 if (!stroke.getWidth()) { in allowed_stroke()
37 if (stroke.getJoin() == SkPaint::kBevel_Join) { in allowed_stroke()
41 if (stroke.getJoin() == SkPaint::kMiter_Join) { in allowed_stroke()
42 *isMiter = stroke.getMiter() >= SK_ScalarSqrt2; in allowed_stroke()
114 const SkStrokeRec& stroke, in Make() argument
117 if (!allowed_stroke(stroke, GrAA::kNo, &isMiter)) { in Make()
124 if (stroke.getStyle() == SkStrokeRec::kHairline_Style && aaType != GrAAType::kMSAA) { in Make()
[all …]
DGrAALinearizingConvexPathRenderer.cpp59 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() local
61 if (stroke.getStyle() == SkStrokeRec::kStroke_Style || in onCanDrawPath()
62 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in onCanDrawPath()
66 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth(); in onCanDrawPath()
67 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { in onCanDrawPath()
72 stroke.getJoin() == SkPaint::Join::kRound_Join) { in onCanDrawPath()
77 if (stroke.getStyle() != SkStrokeRec::kFill_Style) { in onCanDrawPath()
348 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onDrawPath() local
349 SkScalar strokeWidth = fill ? -1.0f : stroke.getWidth(); in onDrawPath()
350 SkPaint::Join join = fill ? SkPaint::Join::kMiter_Join : stroke.getJoin(); in onDrawPath()
[all …]
/third_party/flutter/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js310 ctx.stroke();
315 ctx.stroke();
318 ctx.stroke();
321 ctx.stroke();
324 ctx.stroke();
327 ctx.stroke();
330 ctx.stroke();
373 ctx.stroke();
383 ctx.stroke();
406 ctx.stroke();
[all …]
/third_party/node/deps/npm/docs/src/images/
Dterminal-icon.svg1stroke-width:0.83px;}.cls-1,.cls-2,.cls-9{stroke:#223839;}.cls-1,.cls-9{stroke-miterlimit:10;}.cls…
Dnetwork-icon.svg1stroke:#223839;}.cls-1,.cls-13,.cls-14,.cls-15,.cls-16,.cls-2,.cls-3{stroke-linecap:round;stroke-l…
/third_party/flutter/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp97 const SkStrokeRec& stroke = shape.style().strokeRec(); in onCanDrawPath() local
98 switch (stroke.getStyle()) { in onCanDrawPath()
148 GetStrokeDevWidth(*args.fViewMatrix, stroke, &inflationRadius); in onCanDrawPath()
356 const SkStrokeRec& stroke, in GetStrokeDevWidth() argument
359 if (stroke.isHairlineStyle()) { in GetStrokeDevWidth()
362 SkASSERT(SkStrokeRec::kStroke_Style == stroke.getStyle()); in GetStrokeDevWidth()
365 strokeDevWidth = stroke.getWidth() * matrixScaleFactor; in GetStrokeDevWidth()
371 stroke.getJoin(), stroke.getMiter(), stroke.getCap(), SkTMax(strokeDevWidth, 1.f)); in GetStrokeDevWidth()
/third_party/node/deps/npm/docs/public/static/
Dnetwork-icon-f659855f70bb0e12addd96250807c241.svg1stroke:#223839;}.cls-1,.cls-13,.cls-14,.cls-15,.cls-16,.cls-2,.cls-3{stroke-linecap:round;stroke-l…

12345678910>>...22