Home
last modified time | relevance | path

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

12

/external/skqp/gm/
Dsamplerstress.cpp119 SkPaint paint2; in onDraw() local
120 paint2.setColor(SK_ColorBLACK); in onDraw()
121 paint2.setAntiAlias(true); in onDraw()
122 paint2.setStyle(SkPaint::kStroke_Style); in onDraw()
123 paint2.setStrokeWidth(1); in onDraw()
124 canvas->drawString("M", 100.0f, 100.0f, font, paint2); in onDraw()
126 paint2.setColor(SK_ColorGRAY); in onDraw()
128 canvas->drawPath(path, paint2); in onDraw()
Dcrbug_892988.cpp24 SkPaint paint2; variable
27 paint2.setColor(0xF0FFFFFF);
28 paint2.setBlendMode(SkBlendMode::kSrc);
29 paint2.setAntiAlias(true);
30 canvas->drawRect(SkRect::MakeLTRB(12, 1, 244, 244), paint2);
/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()
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()
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_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_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_setLCDRenderText.cpp8 SkPaint paint1, paint2;
10 paint2.setFlags(paint2.getFlags() | SkPaint::kLCDRenderText_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() ? '=' : '!');
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 == 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()
/external/skqp/docs/
DSkPaint_Reference.bmh96 SkPaint paint2(paint1);
97 paint2.setColor(SK_ColorBLUE);
99 SkDebugf("SK_ColorBLUE %c= paint2.getColor()\n", SK_ColorBLUE == paint2.getColor() ? '=' : '!');
103 SK_ColorBLUE == paint2.getColor()
135 SkPaint paint1, paint2;
138 SkDebugf("paint1 %c= paint2", paint1 == paint2 ? '=' : '!');
141 paint1 == paint2
171 SkPaint paint1, paint2;
173 paint2 = paint1;
175 SkDebugf("SK_ColorRED %c= paint2.getColor()\n", SK_ColorRED == paint2.getColor() ? '=' : '!');
[all …]
/external/skqp/src/gpu/effects/
DGrConfigConversionEffect.h86 GrPaint paint2; in TestForPreservingPMConversions() local
107 paint2.addColorTextureProcessor(readRTC->asTextureProxyRef(), SkMatrix::I()); in TestForPreservingPMConversions()
108 paint2.addColorFragmentProcessor(std::move(upmToPM)); in TestForPreservingPMConversions()
109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
111 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()

12