Home
last modified time | relevance | path

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

12

/external/skia/gm/
Dsamplerstress.cpp128 SkPaint paint2; in onDraw() local
129 paint2.setColor(SK_ColorBLACK); in onDraw()
130 paint2.setAntiAlias(true); in onDraw()
131 paint2.setStyle(SkPaint::kStroke_Style); in onDraw()
132 paint2.setStrokeWidth(1); in onDraw()
133 canvas->drawString("M", 100.0f, 100.0f, font, paint2); in onDraw()
135 paint2.setColor(SK_ColorGRAY); in onDraw()
137 canvas->drawPath(path, paint2); in onDraw()
Dcrbug_892988.cpp26 SkPaint paint2; variable
29 paint2.setColor(0xF0FFFFFF);
30 paint2.setBlendMode(SkBlendMode::kSrc);
31 paint2.setAntiAlias(true);
32 canvas->drawRect(SkRect::MakeLTRB(12, 1, 244, 244), paint2);
/external/skia/docs/examples/
Dskpaint_skia.cpp8 SkPaint paint1, paint2, paint3; in draw() local
14 paint2.setAntiAlias(true); in draw()
15 paint2.setColor(SkColorSetRGB(0, 136, 0)); in draw()
16 paint2.setStyle(SkPaint::kStroke_Style); in draw()
17 paint2.setStrokeWidth(SkIntToScalar(3)); in draw()
29 canvas->drawTextBlob(blob1.get(), 20.0f, 144.0f, paint2); in draw()
Dtext_rendering.cpp23 SkPaint paint1, paint2, paint3; in draw() local
28 paint2.setAntiAlias(true); in draw()
29 paint2.setColor(SkColorSetARGB(0xFF, 0xDB, 0x44, 0x37)); in draw()
30 paint2.setStyle(SkPaint::kStroke_Style); in draw()
31 paint2.setStrokeWidth(3.0f); in draw()
38 canvas->drawTextBlob(blob1.get(), 20.0f, 144.0f, paint2); in draw()
DPaint_equal_operator.cpp7 SkPaint paint1, paint2; in draw() local
9 paint2.setColor(0xFFFF0000); in draw()
10 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!'); in draw()
13 paint2.setPathEffect(SkDashPathEffect::Make(intervals, 2, 2.5f)); in draw()
14 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!'); in draw()
DPaint_setEmbeddedBitmapText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kEmbeddedBitmapText_Flag);
11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
DPaint_setDither.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kDither_Flag);
11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
DPaint_setFakeBoldText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kFakeBoldText_Flag);
11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
DPaint_setLCDRenderText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kLCDRenderText_Flag);
11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
DPaint_setAntiAlias.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kAntiAlias_Flag);
11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
DPaint_notequal_operator.cpp7 SkPaint paint1, paint2; in draw() local
9 paint2.setColor(0xFFFF0000); in draw()
10 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!'); in draw()
11 SkDebugf("paint1 %c= paint2\n", paint1 != paint2 ? '!' : '='); in draw()
DPaint_setSubpixelText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kSubpixelText_Flag);
11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
DPaint_refTypeface.cpp8 SkPaint paint1, paint2;
13 paint1.getTypeface() == paint2.getTypeface() ? '=' : '!');
14 paint2.setTypeface(paint1.refTypeface());
16 paint1.getTypeface() == paint2.getTypeface() ? '=' : '!');
DPaint_setHinting.cpp8 SkPaint paint1, paint2;
9 paint2.setHinting(SkFontHinting::kNormal);
10 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : ':');
DPaint_move_operator.cpp7 SkPaint paint1, paint2; in draw() local
9 paint2 = std::move(paint1); in draw()
10 SkDebugf("SK_ColorRED %c= paint2.getColor()\n", SK_ColorRED == paint2.getColor() ? '=' : '!'); in draw()
DPaint_copy_operator.cpp7 SkPaint paint1, paint2; in draw() local
9 paint2 = paint1; in draw()
11 SkDebugf("SK_ColorRED %c= paint2.getColor()\n", SK_ColorRED == paint2.getColor() ? '=' : '!'); in draw()
DPaint_copy_const_SkPaint.cpp9 SkPaint paint2(paint1); in draw() local
10 paint2.setColor(SK_ColorBLUE); in draw()
12 SkDebugf("SK_ColorBLUE %c= paint2.getColor()\n", SK_ColorBLUE == paint2.getColor() ? '=' : '!'); in draw()
Dcolor_filter_vs_colorFilterImageFilter_saveLayer.cpp18 SkPaint paint2; in draw() local
19 paint2.setImageFilter(SkImageFilters::ColorFilter(saturate(), nullptr)); in draw()
21 canvas->saveLayer(nullptr, &paint2); in draw()
DPaint_reset.cpp7 SkPaint paint1, paint2; in draw() local
10 SkDebugf("paint1 %c= paint2", paint1 == paint2 ? '=' : '!'); in draw()
DPaint_refShader.cpp7 SkPaint paint1, paint2; in draw() local
10 paint2.setShader(paint1.refShader()); in draw()
DPaint_refImageFilter.cpp7 SkPaint paint1, paint2; in draw() local
10 paint2.setImageFilter(paint1.refImageFilter()); in draw()
DPaint_refMaskFilter.cpp7 SkPaint paint1, paint2; in draw() local
10 paint2.setMaskFilter(paint1.refMaskFilter()); in draw()
DPaint_refColorFilter.cpp7 SkPaint paint1, paint2; in draw() local
10 paint2.setColorFilter(paint1.refColorFilter()); in draw()
DPaint_refPathEffect.cpp7 SkPaint paint1, paint2; in draw() local
11 paint2.setPathEffect(paint1.refPathEffect()); in draw()
Dskcanvas_paint.cpp39 SkPaint paint2; in draw() local
41 canvas->drawTextBlob(text.get(), 50, 25, paint2); in draw()

12