Home
last modified time | relevance | path

Searched refs:paint1 (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/effects/
DGrConfigConversionEffect.cpp213 GrPaint paint1; in TestForPreservingPMConversions() local
223 paint1.addColorFragmentProcessor(pmToUPM1); in TestForPreservingPMConversions()
224 paint1.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); in TestForPreservingPMConversions()
235 paint1, in TestForPreservingPMConversions()
/external/skia/gm/
Darithmode.cpp139 SkPaint paint1; in onDraw() local
140 paint1.setXfermode(xfer1)->unref(); in onDraw()
141 canvas->drawBitmap(dst, x, y, &paint1); in onDraw()
Dgradients.cpp412 SkPaint paint1, paint2, paint3; in onDraw() local
413 paint1.setStyle(SkPaint::kFill_Style); in onDraw()
445 paint1.setShader(sweep); in onDraw()
446 paint1.setDither(fDither); in onDraw()
452 canvas->drawCircle(cx, cy, radius, paint1); in onDraw()
/external/skia/site/user/api/
Dskpaint.md31 SkPaint paint1, paint2, paint3;
33 paint1.setTextSize(64.0f);
34 paint1.setAntiAlias(true);
35 paint1.setColor(SkColorSetRGB(255, 0, 0);
36 paint1.setStyle(SkPaint::kFill_Style);
50 canvas->drawText(text, strlen(text), 20.0f, 64.0f, paint1);
64 SkPaint paint1, paint2, paint3;
71 canvas->drawRect(SkRect::MakeXYWH(10,10,60,20), paint1);