Home
last modified time | relevance | path

Searched refs:paint2 (Results 1 – 8 of 8) sorted by relevance

/external/skia/gm/
Dsamplerstress.cpp126 SkPaint paint2; in onDraw() local
127 paint2.setColor(SK_ColorBLACK); in onDraw()
128 paint2.setAntiAlias(true); in onDraw()
129 paint2.setTextSize(72); in onDraw()
130 paint2.setStyle(SkPaint::kStroke_Style); in onDraw()
131 paint2.setStrokeWidth(1); in onDraw()
132 sk_tool_utils::set_portable_typeface(&paint2); in onDraw()
135 paint2); in onDraw()
137 paint2.setColor(sk_tool_utils::color_to_565(SK_ColorGRAY)); in onDraw()
139 canvas->drawPath(path, paint2); in onDraw()
Darithmode.cpp143 SkPaint paint2; in onDraw() local
144 paint2.setXfermode(xfer2)->unref(); in onDraw()
145 canvas->drawBitmap(dst, x, y, &paint2); in onDraw()
Dgradients.cpp412 SkPaint paint1, paint2, paint3; in onDraw() local
414 paint2.setStyle(SkPaint::kFill_Style); in onDraw()
447 paint2.setShader(radial1); in onDraw()
448 paint2.setDither(fDither); in onDraw()
454 canvas->drawCircle(cx, cy, radius, paint2); in onDraw()
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.cpp214 GrPaint paint2; in TestForPreservingPMConversions() local
242 paint2.addColorFragmentProcessor(upmToPM); in TestForPreservingPMConversions()
243 paint2.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in TestForPreservingPMConversions()
252 paint2, in TestForPreservingPMConversions()
/external/skia/site/user/api/
Dskpaint.md31 SkPaint paint1, paint2, paint3;
38 paint2.setTextSize(64.f);
39 paint2.setAntiAlias(true);
40 paint2.setColor(SkColorSetRGB(0, 136, 0);
41 paint2.setStyle(SkPaint::kStroke_Style);
42 paint2.setStrokeWidth(SkIntToScalar(3));
51 canvas->drawText(text, strlen(text), 20.0f, 144.0f, paint2);
64 SkPaint paint1, paint2, paint3;
65 paint2.setStyle(SkPaint::kStroke_Style);
66 paint2.setStrokeWidth(3);
[all …]
Dskcanvas.md137 SkPaint paint2;
139 canvas->drawText(text, strlen(text), 50, 25, paint2);
/external/skia/tests/
DPaintTest.cpp266 SkPaint paint2; in DEF_TEST() local
267 paint2.unflatten(reader); in DEF_TEST()
268 REPORTER_ASSERT(reporter, paint2 == paint); in DEF_TEST()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java509 paint2(cacheImage.getGraphics()); in paint()
520 public void paint2(Graphics g) { in paint2() method in DumbTextComponent