/external/skqp/experimental/go-demo/ |
D | main.go | 45 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/ |
D | main.go | 45 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/ |
D | strokes.cpp | 116 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 …]
|
D | reveal.cpp | 359 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 …]
|
D | emptypath.cpp | 184 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()
|
D | offsetimagefilter.cpp | 84 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()
|
D | imagefilterscropexpand.cpp | 183 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()
|
D | shadertext2.cpp | 95 SkPaint strokePaint(fillPaint); 96 strokePaint.setStyle(SkPaint::kStroke_Style); 97 strokePaint.setStrokeWidth(kPointSize * 0.1f); 129 SkPaint& paint = s ? strokePaint : fillPaint;
|
/external/skia/gm/ |
D | strokes.cpp | 116 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 …]
|
D | reveal.cpp | 359 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 …]
|
D | emptypath.cpp | 184 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()
|
D | offsetimagefilter.cpp | 84 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()
|
D | imagefilterscropexpand.cpp | 183 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()
|
D | shadertext2.cpp | 95 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/ |
D | SkSVGShape.cpp | 21 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/ |
D | SkSVGShape.cpp | 21 if (const SkPaint* strokePaint = ctx.strokePaint()) { in onRender() local 22 this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint, fillType); in onRender()
|
/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 146 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()
|
D | SampleShadowUtils.cpp | 138 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()
|
D | SampleShadowReference.cpp | 104 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/ |
D | GpuDrawPathTest.cpp | 95 SkPaint strokePaint; variable 96 strokePaint.setStyle(SkPaint::kStroke_Style); 97 strokePaint.setStrokeWidth(10.f); 101 GrStyle(strokePaint)
|
/external/skqp/tests/ |
D | GpuDrawPathTest.cpp | 95 SkPaint strokePaint; variable 96 strokePaint.setStyle(SkPaint::kStroke_Style); 97 strokePaint.setStrokeWidth(10.f); 101 GrStyle(strokePaint)
|
/external/skia/samplecode/ |
D | SampleShadowReference.cpp | 107 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()
|
D | SampleShadowColor.cpp | 158 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/ |
D | GrNonAAStrokeRectOp.cpp | 229 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/ |
D | GrNonAAStrokeRectOp.cpp | 229 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()
|