Home
last modified time | relevance | path

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

123

/third_party/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);
/third_party/flutter/skia/gm/
Dsamplerstress.cpp130 SkPaint paint2; in onDraw() local
131 paint2.setColor(SK_ColorBLACK); in onDraw()
132 paint2.setAntiAlias(true); in onDraw()
133 paint2.setStyle(SkPaint::kStroke_Style); in onDraw()
134 paint2.setStrokeWidth(1); in onDraw()
135 canvas->drawString("M", 100.0f, 100.0f, font, paint2); in onDraw()
137 paint2.setColor(SK_ColorGRAY); in onDraw()
139 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);
/third_party/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_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_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_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_setFakeBoldText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kFakeBoldText_Flag);
11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
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() ? '=' : '!');
/third_party/flutter/skia/docs/examples/
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_setSubpixelText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kSubpixelText_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_setLCDRenderText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kLCDRenderText_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_setFakeBoldText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kFakeBoldText_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_setEmbeddedBitmapText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kEmbeddedBitmapText_Flag);
11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
DPaint_getHash.cpp7 SkPaint paint1, paint2; in draw() local
9 paint2.setColor(0xFFFF0000); in draw()
10 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!'); in draw()
12 paint1.getHash() == paint2.getHash() ? '=' : '!'); in draw()
DPaint_refTypeface.cpp8 SkPaint paint1, paint2;
13 paint1.getTypeface() == paint2.getTypeface() ? '=' : '!');
14 paint2.setTypeface(paint1.refTypeface());
16 paint1.getTypeface() == paint2.getTypeface() ? '=' : '!');

123