/external/skia/gm/ |
D | colorwheel.cpp | 54 canvas->drawString("R", 8.0f, 20.0f, font, SkPaint(SkColors::kRed)); 55 canvas->drawString("G", 24.0f, 20.0f, font, SkPaint(SkColors::kGreen)); 56 canvas->drawString("B", 40.0f, 20.0f, font, SkPaint(SkColors::kBlue)); 57 canvas->drawString("C", 56.0f, 20.0f, font, SkPaint(SkColors::kCyan)); 58 canvas->drawString("M", 72.0f, 20.0f, font, SkPaint(SkColors::kMagenta)); 59 canvas->drawString("Y", 88.0f, 20.0f, font, SkPaint(SkColors::kYellow)); 60 canvas->drawString("K", 104.0f, 20.0f, font, SkPaint(SkColors::kBlack));
|
D | gradtext.cpp | 71 canvas->drawString("I", 0, 100, font, paint); in onDraw() 87 canvas->drawString("Normal Fill Text", 0, 50, font, paint); in onDraw() 89 canvas->drawString("Normal Stroke Text", 0, 100, font, paint); in onDraw() 95 canvas->drawString("Gradient Fill Text", 0, 150, font, paint); in onDraw() 97 canvas->drawString("Gradient Stroke Text", 0, 200, font, paint); in onDraw() 125 canvas->drawString("When in the course of human events", 0, 0, font, paint);
|
D | daa.cpp | 28 canvas->drawString("Should be a green square with no red showing through.", 47 canvas->drawString("Adjacent rects, two draws. Blue then green, no red?", 69 canvas->drawString("Adjacent rects, wound together. All green?", 88 canvas->drawString("Adjacent rects, wound opposite. All green?", 107 canvas->drawString("One poly, wound opposite. All green?",
|
/external/skia/docs/examples/ |
D | UnpremulBugs.cpp | 43 canvas->drawString("Premul", 220, 20, font, paint); in draw() 44 canvas->drawString("Unpremul", 220, 70, font, paint); in draw() 45 canvas->drawString("Gray", 5, 120, font, paint); in draw() 46 canvas->drawString("White", 55, 120, font, paint); in draw() 47 canvas->drawString("Gray", 115, 120, font, paint); in draw() 48 canvas->drawString("White", 165, 120, font, paint); in draw() 50 canvas->drawString("2x2", 40, 150, font, paint); in draw() 51 canvas->drawString("1x1", 150, 150, font, paint); in draw()
|
D | 50_percent_gray.cpp | 25 canvas->drawString("BW Dither", 0, 125, font, black); in draw() 33 canvas->drawString("Scaled Dither", 0, 125, font, black); in draw() 41 drawString(canvas,"Blend", 0, 125, font, black); in draw() 47 canvas->drawString("0xFFBCBCBC", 0, 125, font, black); in draw() 53 canvas->drawString("0xFF808080", 0, 125, font, black); in draw()
|
D | PreMultiplyARGB.cpp | 9 canvas->drawString("Unpremultiplied:", 20, 20, SkPaint()); 10 canvas->drawString("alpha=160 red=128 green=160 blue=192", 20, 40, SkPaint()); 11 canvas->drawString("Premultiplied:", 20, 80, SkPaint()); 16 canvas->drawString(str.c_str(), 20, 100, SkPaint());
|
D | Path_arcTo_2_a.cpp | 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 | 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 | PreMultiplyColor.cpp | 10 canvas->drawString("Unpremultiplied:", 20, 20, SkPaint()); 15 canvas->drawString(str.c_str(), 20, 40, SkPaint()); 16 canvas->drawString("Premultiplied:", 20, 80, SkPaint()); 21 canvas->drawString(str.c_str(), 20, 100, SkPaint());
|
D | SkPath_cubicTo_example.cpp | 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 | Text_Size.cpp | 9 canvas->drawString("12 point", 10, 20, paint); 11 canvas->drawString("24 point", 10, 60, paint); 13 canvas->drawString("48 point", 10, 120, paint);
|
D | Text_Skew_X.cpp | 12 canvas->drawString("right-leaning", 10, 100, paint); 14 canvas->drawString("normal", 10, 60, paint); 16 canvas->drawString("left-leaning", 10, 20, paint);
|
D | Text_Scale_X.cpp | 12 canvas->drawString("narrow", 10, 20, paint); 14 canvas->drawString("normal", 10, 60, paint); 16 canvas->drawString("wide", 10, 100, paint);
|
D | Fake_Bold.cpp | 11 canvas->drawString("OjYy_-", 10, 35, paint); 13 canvas->drawString("OjYy_-", 10, 75, paint); 18 canvas->drawString("OjYy_-", 10, 115, paint);
|
D | gamma_mask_filter.cpp | 13 canvas->drawString(text, 16, 80, font, paint); in draw() 16 canvas->drawString(text, 16, 160, font, paint); in draw() 19 canvas->drawString(text, 16, 240, font, paint); in draw()
|
D | Canvas_skew.cpp | 12 canvas->drawString("A1", 0, 0, font, paint); in draw() 17 canvas->drawString("A1", 0, 0, font, paint); in draw() 21 canvas->drawString("A1", 0, 0, font, paint); in draw()
|
D | Surface_MakeFromBackendTexture.cpp | 12 canvas->drawString("GPU only!", 20, 40, font, paint); in draw() 17 canvas->drawString("Direct Context only!", 20, 40, font, paint); in draw() 30 surfaceCanvas->drawString("GPU rocks!", 20, 40, font, paint); in draw()
|
D | RGBToHSV.cpp | 15 canvas->drawString(("h: " + std::to_string(hsv[0]).substr(0, 6)).c_str(), 27, 45, SkPaint()); 16 canvas->drawString(("s: " + std::to_string(hsv[1]).substr(0, 6)).c_str(), 27, 65, SkPaint()); 17 canvas->drawString(("v: " + std::to_string(hsv[2]).substr(0, 6)).c_str(), 27, 85, SkPaint());
|
/external/skqp/gm/ |
D | colorwheel.cpp | 48 canvas->drawString("R", 8.0f, 20.0f, font, paint); 50 canvas->drawString("G", 24.0f, 20.0f, font, paint); 52 canvas->drawString("B", 40.0f, 20.0f, font, paint); 54 canvas->drawString("C", 56.0f, 20.0f, font, paint); 56 canvas->drawString("M", 72.0f, 20.0f, font, paint); 58 canvas->drawString("Y", 88.0f, 20.0f, font, paint); 60 canvas->drawString("K", 104.0f, 20.0f, font, paint);
|
D | gradtext.cpp | 61 canvas->drawString("I", 0, 100, font, paint); in onDraw() 82 canvas->drawString("Normal Fill Text", 0, 50, font, paint); in onDraw() 84 canvas->drawString("Normal Stroke Text", 0, 100, font, paint); in onDraw() 90 canvas->drawString("Gradient Fill Text", 0, 150, font, paint); in onDraw() 92 canvas->drawString("Gradient Stroke Text", 0, 200, font, paint); in onDraw() 124 canvas->drawString("When in the course of human events", 0, 0, font, paint);
|
D | gamma.cpp | 64 auto drawString = [&](const char str[], SkScalar x, SkScalar y) { in __anona9327cdd0202() variable 70 drawString(label, 0, sz + font.getSpacing()); in __anona9327cdd0302() 72 drawString(label2, 0, sz + 2 * font.getSpacing()); in __anona9327cdd0302() 79 drawString(label, 0, sz + font.getSpacing()); in __anona9327cdd0402() 92 drawString(srcText.c_str(), 0, sz + font.getSpacing()); in __anona9327cdd0502() 94 drawString(modeName, 0, sz + 2 * font.getSpacing()); in __anona9327cdd0502() 95 drawString(dstText.c_str(), 0, sz + 3 * font.getSpacing()); in __anona9327cdd0502()
|
/external/skqp/tests/ |
D | PDFTaggedTest.cpp | 111 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 117 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 123 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 128 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 133 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 138 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 143 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 153 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 160 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
|
D | DrawTextTest.cpp | 91 drawTextCanvas.drawString("A", point.fX, point.fY, font, paint); in DEF_TEST() 100 drawDashedTextCanvas.drawString("A", point.fX, point.fY, font, paint); in DEF_TEST() 118 canvas->drawString("a", +x, 0.0f, SkFont(), SkPaint()); in DEF_TEST() 119 canvas->drawString("a", -x, 0.0f, SkFont(), SkPaint()); in DEF_TEST() 122 canvas->drawString("a", 0.0f, +y, SkFont(), SkPaint()); in DEF_TEST() 123 canvas->drawString("a", 0.0f, -y, SkFont(), SkPaint()); in DEF_TEST() 160 canvas->drawString("Hamburgefons", 10, 10, font, SkPaint()); in DEF_TEST()
|
/external/skia/tests/ |
D | DrawTextTest.cpp | 93 drawTextCanvas.drawString("A", point.fX, point.fY, font, paint); in DEF_TEST() 102 drawDashedTextCanvas.drawString("A", point.fX, point.fY, font, paint); in DEF_TEST() 120 canvas->drawString("a", +x, 0.0f, SkFont(), SkPaint()); in DEF_TEST() 121 canvas->drawString("a", -x, 0.0f, SkFont(), SkPaint()); in DEF_TEST() 124 canvas->drawString("a", 0.0f, +y, SkFont(), SkPaint()); in DEF_TEST() 125 canvas->drawString("a", 0.0f, -y, SkFont(), SkPaint()); in DEF_TEST() 162 canvas->drawString("Hamburgefons", 10, 10, font, SkPaint()); in DEF_TEST() 177 canvas->drawString( in DEF_TEST()
|
D | PDFTaggedTest.cpp | 116 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 122 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 128 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 133 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 138 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 143 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 148 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 158 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST() 173 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
|