Searched refs:linePaint (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 261 SkPaint linePaint; in onDrawContent() local 262 linePaint.setAntiAlias(true); in onDrawContent() 263 linePaint.setStyle(SkPaint::kStroke_Style); in onDrawContent() 264 linePaint.setStrokeWidth(4.f / kViewScale); in onDrawContent() 265 linePaint.setStrokeJoin(SkPaint::kRound_Join); in onDrawContent() 266 linePaint.setStrokeCap(SkPaint::kRound_Cap); in onDrawContent() 272 linePaint.setPathEffect(dots); in onDrawContent() 273 canvas->drawRect(fOuterRect, linePaint); in onDrawContent() 331 linePaint.setPathEffect(dashes); in onDrawContent() 336 linePaint.setColor(SK_ColorBLUE); in onDrawContent() [all …]
|
/third_party/skia/gm/ |
D | circulararcs.cpp | 77 SkPaint linePaint; in draw_arcs() local 78 linePaint.setAntiAlias(true); in draw_arcs() 79 linePaint.setColor(SK_ColorBLACK); in draw_arcs() 80 canvas->drawLine(kGridW, 0.f , kGridW, SkIntToScalar(kH), linePaint); in draw_arcs() 81 canvas->drawLine(0.f , kGridH, SkIntToScalar(kW), kGridH, linePaint); in draw_arcs() 208 SkPaint linePaint; variable 209 linePaint.setAntiAlias(true); 210 linePaint.setColor(SK_ColorRED); 213 canvas->drawLine(midX, -kPad, midX, height, linePaint);
|
D | pixelsnap.cpp | 55 SkPaint linePaint; in onDraw() local 56 linePaint.setColor(SK_ColorWHITE); in onDraw() 87 linePaint); in onDraw() 92 linePaint); in onDraw()
|
/third_party/skia/demos.skia.org/demos/textedit/ |
D | textapi_utils.js | 12 const linePaint = new CanvasKit.Paint(); 13 linePaint.setColor([0,0,1,1]); 14 linePaint.setStyle(CanvasKit.PaintStyle.Stroke); 15 linePaint.setStrokeWidth(2); 16 linePaint.setAntiAlias(true); 20 linePaint.setAntiAlias(true); 23 _line_paint: linePaint, // wrap in weak-ref so we can delete it?
|
/third_party/skia/modules/canvaskit/npm_build/ |
D | textapi_utils.js | 12 const linePaint = new CanvasKit.Paint(); 13 linePaint.setColor([0,0,1,1]); 14 linePaint.setStyle(CanvasKit.PaintStyle.Stroke); 15 linePaint.setStrokeWidth(2); 16 linePaint.setAntiAlias(true); 20 linePaint.setAntiAlias(true); 23 _line_paint: linePaint, // wrap in weak-ref so we can delete it?
|