Home
last modified time | relevance | path

Searched refs:strokePaint (Results 1 – 25 of 45) sorted by relevance

12

/external/skqp/experimental/go-demo/
Dmain.go45 strokePaint := skia.NewPaint()
46 strokePaint.SetColor(0xFFFF0000)
47 strokePaint.SetAntiAlias(true)
48 strokePaint.SetStroke(true)
49 strokePaint.SetStrokeWidth(5.0)
56 canvas.DrawPath(path, strokePaint)
/external/skia/experimental/go-demo/
Dmain.go45 strokePaint := skia.NewPaint()
46 strokePaint.SetColor(0xFFFF0000)
47 strokePaint.SetAntiAlias(true)
48 strokePaint.SetStroke(true)
49 strokePaint.SetStrokeWidth(5.0)
56 canvas.DrawPath(path, strokePaint)
/external/skqp/gm/
Dstrokes.cpp116 SkPaint fillPaint, strokePaint, dashPaint; in onDraw() local
118 strokePaint = fillPaint; in onDraw()
119 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
122 strokePaint.setAlpha(255); in onDraw()
123 strokePaint.setStrokeWidth(i ? 8.f : 10.f); in onDraw()
124 strokePaint.setStrokeCap(i ? SkPaint::kSquare_Cap : SkPaint::kRound_Cap); in onDraw()
127 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw()
129 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw()
130 dashPaint = strokePaint; in onDraw()
139 strokePaint.setStrokeWidth(20); in onDraw()
[all …]
Dreveal.cpp359 SkPaint strokePaint; in onDraw() local
360 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
361 strokePaint.setStrokeWidth(0.0f); in onDraw()
422 strokePaint.setColor(SK_ColorBLUE); in onDraw()
427 canvas->drawRect(cover, strokePaint); in onDraw()
434 canvas->drawRRect(rrect, strokePaint); in onDraw()
444 canvas->drawDRRect(outer, inner, strokePaint); in onDraw()
457 canvas->drawPath(path, strokePaint); in onDraw()
464 strokePaint.setColor(SK_ColorRED); in onDraw()
465 canvas->drawPath(drawObj->asPath(0.0f), strokePaint); in onDraw()
[all …]
Demptypath.cpp184 SkPaint strokePaint; in onDraw() local
185 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
186 strokePaint.setStrokeWidth(21); in onDraw()
187 strokePaint.setStrokeCap(SkPaint::kSquare_Cap); in onDraw()
191 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
198 canvas->drawPath(path, strokePaint); in onDraw()
Doffsetimagefilter.cpp84 SkPaint strokePaint; in DrawClippedImage() local
85 strokePaint.setStyle(SkPaint::kStroke_Style); in DrawClippedImage()
86 strokePaint.setStrokeWidth(2); in DrawClippedImage()
87 strokePaint.setColor(SK_ColorRED); in DrawClippedImage()
88 canvas->drawRect(clipRect, strokePaint); in DrawClippedImage()
Dimagefilterscropexpand.cpp183 SkPaint strokePaint; in draw() local
184 strokePaint.setColor(0xFFFF0000); in draw()
185 strokePaint.setStyle(SkPaint::kStroke_Style); in draw()
186 canvas->drawRect(rect, strokePaint); in draw()
Dshadertext2.cpp95 SkPaint strokePaint(fillPaint);
96 strokePaint.setStyle(SkPaint::kStroke_Style);
97 strokePaint.setStrokeWidth(kPointSize * 0.1f);
129 SkPaint& paint = s ? strokePaint : fillPaint;
/external/skia/gm/
Dstrokes.cpp116 SkPaint fillPaint, strokePaint, dashPaint; in onDraw() local
118 strokePaint = fillPaint; in onDraw()
119 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
122 strokePaint.setAlpha(255); in onDraw()
123 strokePaint.setStrokeWidth(i ? 8.f : 10.f); in onDraw()
124 strokePaint.setStrokeCap(i ? SkPaint::kSquare_Cap : SkPaint::kRound_Cap); in onDraw()
127 canvas->drawPath(fMoveHfPath, strokePaint); in onDraw()
129 canvas->drawPath(fMoveZfPath, strokePaint); in onDraw()
130 dashPaint = strokePaint; in onDraw()
139 strokePaint.setStrokeWidth(20); in onDraw()
[all …]
Dreveal.cpp359 SkPaint strokePaint; in onDraw() local
360 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
361 strokePaint.setStrokeWidth(0.0f); in onDraw()
422 strokePaint.setColor(SK_ColorBLUE); in onDraw()
427 canvas->drawRect(cover, strokePaint); in onDraw()
434 canvas->drawRRect(rrect, strokePaint); in onDraw()
444 canvas->drawDRRect(outer, inner, strokePaint); in onDraw()
457 canvas->drawPath(path, strokePaint); in onDraw()
464 strokePaint.setColor(SK_ColorRED); in onDraw()
465 canvas->drawPath(drawObj->asPath(0.0f), strokePaint); in onDraw()
[all …]
Demptypath.cpp184 SkPaint strokePaint; in onDraw() local
185 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
186 strokePaint.setStrokeWidth(21); in onDraw()
187 strokePaint.setStrokeCap(SkPaint::kSquare_Cap); in onDraw()
191 strokePaint.setStyle(SkPaint::kStroke_Style); in onDraw()
198 canvas->drawPath(path, strokePaint); in onDraw()
Doffsetimagefilter.cpp84 SkPaint strokePaint; in DrawClippedImage() local
85 strokePaint.setStyle(SkPaint::kStroke_Style); in DrawClippedImage()
86 strokePaint.setStrokeWidth(2); in DrawClippedImage()
87 strokePaint.setColor(SK_ColorRED); in DrawClippedImage()
88 canvas->drawRect(clipRect, strokePaint); in DrawClippedImage()
Dimagefilterscropexpand.cpp183 SkPaint strokePaint; in draw() local
184 strokePaint.setColor(0xFFFF0000); in draw()
185 strokePaint.setStyle(SkPaint::kStroke_Style); in draw()
186 canvas->drawRect(rect, strokePaint); in draw()
Dshadertext2.cpp95 SkPaint strokePaint(fillPaint);
96 strokePaint.setStyle(SkPaint::kStroke_Style);
97 strokePaint.setStrokeWidth(kPointSize * 0.1f);
129 SkPaint& paint = s ? strokePaint : fillPaint;
/external/skqp/experimental/svg/model/
DSkSVGShape.cpp21 if (const SkPaint* strokePaint = ctx.strokePaint()) { in onRender() local
22 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); in onRender()
/external/skia/experimental/svg/model/
DSkSVGShape.cpp21 if (const SkPaint* strokePaint = ctx.strokePaint()) { in onRender() local
22 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); in onRender()
/external/skqp/samplecode/
DSampleShadowColor.cpp146 SkPaint strokePaint; in drawShadowedPath() local
148 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
149 strokePaint.setStyle(SkPaint::kStroke_Style); in drawShadowedPath()
151 canvas->drawPath(path, strokePaint); in drawShadowedPath()
DSampleShadowUtils.cpp138 SkPaint strokePaint; in drawShadowedPath() local
140 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
141 strokePaint.setStyle(SkPaint::kStroke_Style); in drawShadowedPath()
143 canvas->drawPath(path, strokePaint); in drawShadowedPath()
DSampleShadowReference.cpp104 SkPaint strokePaint; in drawShadowedPath() local
106 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
107 strokePaint.setStyle(SkPaint::kStroke_Style); in drawShadowedPath()
109 canvas->drawPath(path, strokePaint); in drawShadowedPath()
/external/skia/tests/
DGpuDrawPathTest.cpp95 SkPaint strokePaint; variable
96 strokePaint.setStyle(SkPaint::kStroke_Style);
97 strokePaint.setStrokeWidth(10.f);
101 GrStyle(strokePaint)
/external/skqp/tests/
DGpuDrawPathTest.cpp95 SkPaint strokePaint; variable
96 strokePaint.setStyle(SkPaint::kStroke_Style);
97 strokePaint.setStrokeWidth(10.f);
101 GrStyle(strokePaint)
/external/skia/samplecode/
DSampleShadowReference.cpp107 SkPaint strokePaint; in drawShadowedPath() local
109 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
110 strokePaint.setStyle(SkPaint::kStroke_Style); in drawShadowedPath()
112 canvas->drawPath(path, strokePaint); in drawShadowedPath()
DSampleShadowColor.cpp158 SkPaint strokePaint; in drawShadowedPath() local
160 strokePaint.setColor(paint.getColor()); in drawShadowedPath()
161 strokePaint.setStyle(SkPaint::kStroke_Style); in drawShadowedPath()
163 canvas->drawPath(path, strokePaint); in drawShadowedPath()
/external/skia/src/gpu/ops/
DGrNonAAStrokeRectOp.cpp229 SkPaint strokePaint; in GR_DRAW_OP_TEST_DEFINE() local
230 strokePaint.setStrokeWidth(strokeWidth); in GR_DRAW_OP_TEST_DEFINE()
231 strokePaint.setStyle(SkPaint::kStroke_Style); in GR_DRAW_OP_TEST_DEFINE()
232 strokePaint.setStrokeJoin(SkPaint::kMiter_Join); in GR_DRAW_OP_TEST_DEFINE()
233 SkStrokeRec strokeRec(strokePaint); in GR_DRAW_OP_TEST_DEFINE()
/external/skqp/src/gpu/ops/
DGrNonAAStrokeRectOp.cpp229 SkPaint strokePaint; in GR_DRAW_OP_TEST_DEFINE() local
230 strokePaint.setStrokeWidth(strokeWidth); in GR_DRAW_OP_TEST_DEFINE()
231 strokePaint.setStyle(SkPaint::kStroke_Style); in GR_DRAW_OP_TEST_DEFINE()
232 strokePaint.setStrokeJoin(SkPaint::kMiter_Join); in GR_DRAW_OP_TEST_DEFINE()
233 SkStrokeRec strokeRec(strokePaint); in GR_DRAW_OP_TEST_DEFINE()

12