/third_party/skia/gm/ |
H A D | blurrect.cpp | 310 #if 0 // Uncomment to hairline stroke around blurred rect in red on top of the blur result. 311 // The rect is defined at integer coords. We inset by 1/2 pixel so our stroke lies on top 313 SkPaint stroke; 314 stroke.setColor(SK_ColorRED); 315 stroke.setStrokeWidth(0.f); 316 stroke.setStyle(SkPaint::kStroke_Style); 317 canvas->drawRect(SkRect::MakeWH(w, h).makeInset(0.5, 0.5), stroke);
|
H A D | image.cpp | 54 SkScalar stroke = size.fWidth / 10; in drawContents() local 55 SkScalar radius = (size.fWidth - stroke) / 2; in drawContents() 64 paint.setStrokeWidth(stroke); in drawContents()
|
H A D | circulararcs.cpp | 45 // Set a reasonable stroke width that configureStyle can override. in draw_arcs() 183 // stroke in DEF_SIMPLE_GM() 189 // stroke and fill in DEF_SIMPLE_GM() 261 SkPaint stroke = hairline; in DEF_SIMPLE_GM() local 262 stroke.setStrokeWidth(2.0f); in DEF_SIMPLE_GM() 268 canvas->drawArc(SkRect::MakeXYWH(x - r, y2 - r, 2 * r, 2 * r), 0, 360, false, stroke); in DEF_SIMPLE_GM()
|
/third_party/skia/experimental/graphite/src/ |
H A D | Device.cpp | 204 // Force the style to be a stroke, using the radius and cap from the paint in drawPoints() 205 SkStrokeRec stroke(paint, SkPaint::kStroke_Style); in drawPoints() 208 this->drawShape(Shape(points[i], points[(i + 1) % count]), paint, stroke); in drawPoints() local 229 // Heavy weight paint options like path effects, mask filters, and stroke-and-fill style are in drawShape() 260 // should be fill or stroke/hairline. Stroke-and-fill is not handled by DrawContext, but is in drawShape() 261 // emulated here by drawing twice--one stroke and one fill--using the same depth value. in drawShape() 300 StrokeParams stroke(style.getWidth(), style.getMiter(), style.getJoin(), style.getCap()); in drawShape() 301 fDC->strokePath(localToDevice, shape, stroke, clip, order, &shading); in drawShape()
|
H A D | DrawContext.h | 68 const StrokeParams& stroke,
|
H A D | DrawList.cpp | 78 const StrokeParams& stroke, in strokePath() 88 // shape, clip, ordering, paint, stroke}); in strokePath() 76 strokePath(const Transform& localToDevice, const Shape& shape, const StrokeParams& stroke, const Clip& clip, DrawOrder ordering, const PaintParams* paint) strokePath() argument
|
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_ImageBitmap/router/ |
H A D | index.js | 33 offscreenCanvasCtx.stroke();
|
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_ImageBitmap/router/ |
H A D | index.js | 33 offscreenCanvasCtx.stroke();
|
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_ImageBitmap/router/ |
H A D | index.js | 33 offscreenCanvasCtx.stroke();
|
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_ImageBitmap/router/ |
H A D | index.js | 33 offscreenCanvasCtx.stroke();
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrAAConvexTessellator.cpp | 280 // Add the outer stroke ring's normals to the originating ring's normals in tessellate() 831 // fill or stroke-and-fill 1017 static void draw_point(SkCanvas* canvas, const SkPoint& p, SkScalar paramValue, bool stroke) { 1025 if (stroke) { 1026 SkPaint stroke; 1027 stroke.setColor(SK_ColorYELLOW); 1028 stroke.setStyle(SkPaint::kStroke_Style); 1029 stroke.setStrokeWidth(kPointRadius/3.0f); 1030 canvas->drawCircle(p.fX, p.fY, kPointRadius, stroke);
|
/third_party/skia/src/gpu/ |
H A D | GrTestUtils.cpp | 269 SkStrokeRec stroke(initStyle); in TestStyle() 270 randomize_stroke_rec(&stroke, random); in TestStyle() 284 *style = GrStyle(stroke, std::move(pe)); in TestStyle()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | common_shape_modifier.cpp | 102 void SetStroke(ArkUINodeHandle node, uint32_t stroke) in SetStroke() argument 106 ShapeModelNG::SetStroke(frameNode, Color(stroke)); in SetStroke()
|
/third_party/skia/src/gpu/tessellate/shaders/ |
H A D | GrStrokeTessellationShader_HardwareImpl.cpp | 25 // requirements. The stroke tessellator does not allow curve sections to inflect or to rotate in onEmitCode() 96 if (shader.stroke().isHairlineStyle()) { in onEmitCode() 110 if (shader.stroke().isHairlineStyle()) { in onEmitCode() 505 // stroke. Add one more edge to the join. This new edge will fall parallel with the in getTessControlShaderGLSL() 506 // first edge of the stroke, eliminating artifacts on the transition from single in getTessControlShaderGLSL() 585 // Our patch is composed of exactly "numTotalCombinedSegments + 1" stroke-width edges that in getTessEvaluationShaderGLSL()
|
H A D | GrStrokeTessellationShader.h | 18 // Tessellates a batch of stroke patches directly to the canvas. Tessellated stroking works by 19 // creating stroke-width, orthogonal edges at set locations along the curve and then connecting them 23 // edges and sorts them into a single quad strip. With this combined set of edges we can stroke any 45 const SkStrokeRec& stroke() const { return fStroke;} in stroke() function in GrStrokeTessellationShader 89 // This common base class emits shader code for our parametric/radial stroke tessellation algorithm
|
/third_party/skia/src/gpu/tessellate/ |
H A D | StrokeIterator.h | 18 // This class iterates over the stroke geometry defined by a path and stroke. It automatically 23 // StrokeIterator iter(path, stroke); 34 StrokeIterator(const SkPath& path, const SkStrokeRec* stroke, const SkMatrix* viewMatrix) in StrokeIterator() argument 35 : fViewMatrix(viewMatrix), fStroke(stroke) { in StrokeIterator() 42 // Verbs that describe stroke geometry. 47 kCircle, // A stroke-width circle drawn as a 180-degree point stroke. 55 // Must be called first. Loads the next pair of "prev" and "current" stroke. Returns false if 110 // Repeat the first verb, this time as the "current" stroke instea in next() [all...] |
/third_party/skia/tests/ |
H A D | SVGDeviceTest.cpp | 448 const auto* stroke = dom.findAttr(rect, "stroke"); in DEF_TEST() local 449 REPORTER_ASSERT(reporter, !!stroke == !!tst.expected_stroke); in DEF_TEST() 450 if (stroke) { in DEF_TEST() 451 REPORTER_ASSERT(reporter, strcmp(stroke, tst.expected_stroke) == 0); in DEF_TEST() 528 REPORTER_ASSERT(reporter, strcmp(dom.findAttr(rectNode, "stroke"), "#123456") == 0); in DEF_TEST() 529 REPORTER_ASSERT(reporter, strcmp(dom.findAttr(rectNode, "stroke-width"), "1") == 0); in DEF_TEST()
|
/third_party/skia/tools/skpbench/ |
H A D | skpbench.cpp | 686 SkPaint stroke; in create_warmup_skp() local 687 stroke.setStyle(SkPaint::kStroke_Style); in create_warmup_skp() 688 stroke.setStrokeWidth(2); in create_warmup_skp() 692 recording->drawPath(bigPath, stroke); in create_warmup_skp()
|
/third_party/icu/tools/colprobe/ |
H A D | extractCollationData.pl | 70 if(/standard|phonebook|traditional|pinyin|stroke|direct/ && $colls) {
|
/third_party/skia/modules/canvaskit/npm_build/ |
H A D | node.example.js | 35 ctx.stroke();
|
/third_party/skia/modules/pathkit/tests/ |
H A D | testReporter.js | 36 // a proper svg and send it off. Supports fill (nofill means just stroke it). 40 newPath.setAttribute('stroke', 'black'); 63 canvasCtx.stroke(path.toPath2D());
|
/third_party/skia/modules/canvaskit/tests/ |
H A D | testReporter.js | 36 // a proper svg and send it off. Supports fill (nofill means just stroke it). 40 newPath.setAttribute('stroke', 'black'); 63 canvasCtx.stroke(path.toPath2D());
|
/third_party/skia/src/core/ |
H A D | SkRecordDraw.cpp | 432 SkScalar stroke = std::max(op.paint.getStrokeWidth(), 0.01f); in bounds() local 433 dst.outset(stroke/2, stroke/2); in bounds()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGText.cpp | 557 const SkPaint* stroke) { in onRender() 561 if (stroke) { in onRender() 562 ctx.canvas()->drawTextBlob(blob, 0, 0, *stroke); in onRender()
|
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/ |
H A D | suiteTable.js | 38 :stroke-width="22"
|