/third_party/skia/docs/examples/ |
D | SkPath_cubicTo_example.cpp | 47 SkPaint textPaint; in draw() local 48 textPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw() 49 textPaint.setAntiAlias(true); in draw() 50 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 51 canvas->drawString("b", b.x(), b.y(), font, textPaint); in draw() 52 canvas->drawString("c", c.x() - 20, c.y(), font, textPaint); in draw() 53 canvas->drawString("d", d.x(), d.y(), font, textPaint); in draw()
|
D | Path_FillType_b.cpp | 16 SkPaint textPaint; 17 textPaint.setAntiAlias(true); 19 canvas->drawPosTextH("01210", 5, textHPos, 48, textPaint); 20 textPaint.setTextSize(18); 23 canvas->drawString("inverse", 384, 150, textPaint); 32 canvas->drawString(fillType & 1 ? "even-odd" : "winding", 64, 170, textPaint);
|
D | SkPath_cubicTo_example_parametric_animated.cpp | 75 SkPaint textPaint; in draw() local 76 textPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw() 77 textPaint.setAntiAlias(true); in draw() 80 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 81 canvas->drawString("b", b.x(), b.y(), font, textPaint); in draw() 82 canvas->drawString("c", c.x()-20, c.y(), font, textPaint); in draw() 83 canvas->drawString("d", d.x(), d.y(), font, textPaint); in draw() 85 textPaint.setColor(SkColorSetARGB(255, 204, 204, 204)); in draw() 86 canvas->drawString(msg.c_str(), 4, 36, font, textPaint); in draw()
|
D | SkPath_cubicTo_example_parametric.cpp | 56 SkPaint textPaint; in draw() local 57 textPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw() 58 textPaint.setAntiAlias(true); in draw() 59 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 60 canvas->drawString("b", b.x(), b.y(), font, textPaint); in draw() 61 canvas->drawString("c", c.x() - 20, c.y(), font, textPaint); in draw() 62 canvas->drawString("d", d.x(), d.y(), font, textPaint); in draw()
|
D | Path_arcTo_2_a.cpp | 10 SkPaint textPaint(tangentPaint); 35 canvas->drawString("(x0, y0)", pts[0].fX - 5, pts[0].fY, textPaint); 36 canvas->drawString("(x1, y1)", pts[1].fX + 5, pts[1].fY, textPaint); 37 canvas->drawString("(x2, y2)", pts[2].fX, pts[2].fY + 15, textPaint); 38 canvas->drawString("radius", center.fX + 15, center.fY + 25, textPaint); 39 canvas->drawString("radius", center.fX - 3, center.fY - 16, textPaint);
|
D | Path_arcTo_2_b.cpp | 10 SkPaint textPaint(tangentPaint); 34 canvas->drawString("(x0, y0)", pts[0].fX, pts[0].fY - 7, textPaint); 35 canvas->drawString("(x1, y1)", pts[1].fX + 5, pts[1].fY, textPaint); 36 canvas->drawString("(x2, y2)", pts[2].fX, pts[2].fY + 15, textPaint); 37 canvas->drawString("radius", center.fX + 15, center.fY + 25, textPaint); 38 canvas->drawString("radius", center.fX - 5, center.fY - 20, textPaint);
|
D | SkPath_quadTo_example.cpp | 31 SkPaint textPaint; in draw() local 32 textPaint.setAntiAlias(true); in draw() 33 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 34 canvas->drawString("b", b.x() + 20, b.y() + 20, font, textPaint); in draw() 35 canvas->drawString("c", c.x(), c.y(), font, textPaint); in draw()
|
D | SkPath_quadTo_example_parametric.cpp | 48 SkPaint textPaint; in draw() local 49 textPaint.setAntiAlias(true); in draw() 50 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 51 canvas->drawString("b", b.x() + 20, b.y() + 20, font, textPaint); in draw() 52 canvas->drawString("c", c.x(), c.y(), font, textPaint); in draw()
|
D | SkPath_quadTo_example_parametric_animated.cpp | 65 SkPaint textPaint; in draw() local 67 textPaint.setAntiAlias(true); in draw() 68 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 69 canvas->drawString("b", b.x()+20, b.y()+20, font, textPaint); in draw() 70 canvas->drawString("c", c.x(), c.y(), font, textPaint); in draw()
|
D | Path_addOval_2.cpp | 12 SkPaint textPaint(ovalPaint); 25 canvas->drawText(&"0123"[start], 1, rect.centerX(), rect.centerY() + 5, textPaint); 30 128, 0, textPaint);
|
/third_party/flutter/skia/docs/examples/ |
D | Path_FillType_b.cpp | 16 SkPaint textPaint; 17 textPaint.setAntiAlias(true); 19 canvas->drawPosTextH("01210", 5, textHPos, 48, textPaint); 20 textPaint.setTextSize(18); 23 canvas->drawString("inverse", 384, 150, textPaint); 32 canvas->drawString(fillType & 1 ? "even-odd" : "winding", 64, 170, textPaint);
|
D | Path_arcTo_2_b.cpp | 10 SkPaint textPaint(tangentPaint); 34 canvas->drawString("(x0, y0)", pts[0].fX, pts[0].fY - 7, textPaint); 35 canvas->drawString("(x1, y1)", pts[1].fX + 5, pts[1].fY, textPaint); 36 canvas->drawString("(x2, y2)", pts[2].fX, pts[2].fY + 15, textPaint); 37 canvas->drawString("radius", center.fX + 15, center.fY + 25, textPaint); 38 canvas->drawString("radius", center.fX - 5, center.fY - 20, textPaint);
|
D | Path_arcTo_2_a.cpp | 10 SkPaint textPaint(tangentPaint); 35 canvas->drawString("(x0, y0)", pts[0].fX - 5, pts[0].fY, textPaint); 36 canvas->drawString("(x1, y1)", pts[1].fX + 5, pts[1].fY, textPaint); 37 canvas->drawString("(x2, y2)", pts[2].fX, pts[2].fY + 15, textPaint); 38 canvas->drawString("radius", center.fX + 15, center.fY + 25, textPaint); 39 canvas->drawString("radius", center.fX - 3, center.fY - 16, textPaint);
|
D | Path_addOval_2.cpp | 12 SkPaint textPaint(ovalPaint); 25 canvas->drawText(&"0123"[start], 1, rect.centerX(), rect.centerY() + 5, textPaint); 30 128, 0, textPaint);
|
/third_party/flutter/skia/modules/canvaskit/tests/ |
D | font.spec.js | 44 const textPaint = new CanvasKit.SkPaint(); 50 35, 50, textPaint, textFont); 60 canvas.drawText(shapedText, textBoxX, textBoxY, textPaint); 78 canvas.drawText('no kerning ↓', 10, 240, textPaint, textFont); 79 canvas.drawText(SHAPE_TEST_TEXT, 10, 300, textPaint, textFont2); 80 canvas.drawText(shapedText2, 10, 300, textPaint); 81 canvas.drawText('kerning ↑', 10, 390, textPaint, textFont); 87 textPaint.delete();
|
/third_party/skia/modules/canvaskit/npm_build/ |
D | node.example.js | 60 const textPaint = new CanvasKit.Paint(); 61 textPaint.setColor(CanvasKit.Color(40, 0, 0)); 62 textPaint.setAntiAlias(true); 78 canvas.drawText('Try Clicking!', 10, 280, textPaint, textFont); 100 textPaint.delete();
|
/third_party/flutter/skia/modules/canvaskit/canvaskit/ |
D | node.example.js | 58 const textPaint = new CanvasKit.SkPaint(); 59 textPaint.setColor(CanvasKit.Color(40, 0, 0)); 60 textPaint.setAntiAlias(true); 76 canvas.drawText('Try Clicking!', 10, 280, textPaint, textFont); 98 textPaint.delete();
|
/third_party/flutter/skia/gm/ |
D | bmpfilterqualityrepeat.cpp | 78 SkPaint textPaint; in drawAll() local 79 textPaint.setAntiAlias(true); in drawAll() 81 SkPaint bmpPaint(textPaint); in drawAll() 92 canvas->drawString(kQualities[q].fName, 20, 40, font, textPaint); in drawAll()
|
D | lcdoverlap.cpp | 73 SkPaint textPaint; in drawTestCase() local 74 textPaint.setColor(colors[i]); in drawTestCase() 75 textPaint.setBlendMode(i % 2 == 0 ? mode : mode2); in drawTestCase() 76 canvas->drawTextBlob(fBlob, 0, 0, textPaint); in drawTestCase()
|
D | imageblur.cpp | 30 SkPaint textPaint; in imageblurgm_draw() local 35 textPaint.setColor(ToolUtils::color_to_565(rand.nextBits(24) | 0xFF000000)); in imageblurgm_draw() 37 canvas->drawString(str, SkIntToScalar(x), SkIntToScalar(y), font, textPaint); in imageblurgm_draw()
|
/third_party/skia/gm/ |
D | bmpfilterqualityrepeat.cpp | 67 SkPaint textPaint; in drawAll() local 68 textPaint.setAntiAlias(true); in drawAll() 70 SkPaint bmpPaint(textPaint); in drawAll() 90 canvas->drawString(rec.name, 20, 40, font, textPaint); in drawAll()
|
D | lcdoverlap.cpp | 72 SkPaint textPaint; in drawTestCase() local 73 textPaint.setColor(colors[i]); in drawTestCase() 74 textPaint.setBlendMode(i % 2 == 0 ? mode : mode2); in drawTestCase() 75 canvas->drawTextBlob(fBlob, 0, 0, textPaint); in drawTestCase()
|
D | imageblur.cpp | 30 SkPaint textPaint; in imageblurgm_draw() local 35 textPaint.setColor(ToolUtils::color_to_565(rand.nextBits(24) | 0xFF000000)); in imageblurgm_draw() 37 canvas->drawString(str, SkIntToScalar(x), SkIntToScalar(y), font, textPaint); in imageblurgm_draw()
|
D | imageblur2.cpp | 54 SkPaint textPaint; in DEF_SIMPLE_GM() local 55 textPaint.setColor(ToolUtils::color_to_565(rand.nextBits(24) | 0xFF000000)); in DEF_SIMPLE_GM() 61 textPaint); in DEF_SIMPLE_GM()
|
/third_party/skia/modules/canvaskit/tests/ |
D | font.spec.js | 300 const textPaint = new CanvasKit.Paint(); constant 303 canvas.drawText('Default', 5, 5, textPaint, annotationFont); 304 canvas.drawText('Alias', 5, 25, textPaint, annotationFont); 305 canvas.drawText('AntiAlias', 5, 45, textPaint, annotationFont); 306 canvas.drawText('Subpixel', 5, 65, textPaint, annotationFont); 310 canvas.drawText('SEA', 35, 15, textPaint, testFont); 312 canvas.drawText('SEA', 35, 35, textPaint, testFont); 314 canvas.drawText('SEA', 35, 55, textPaint, testFont); 316 canvas.drawText('SEA', 35, 75, textPaint, testFont); 318 textPaint.delete();
|