/external/skqp/gm/ |
D | samplerstress.cpp | 119 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()
|
D | crbug_892988.cpp | 24 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/ |
D | samplerstress.cpp | 128 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()
|
D | crbug_892988.cpp | 26 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/ |
D | skpaint_skia.cpp | 8 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()
|
D | Paint_equal_operator.cpp | 7 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()
|
D | text_rendering.cpp | 23 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()
|
D | Paint_setFakeBoldText.cpp | 8 SkPaint paint1, paint2; 10 paint2.setFlags(paint2.getFlags() | SkPaint::kFakeBoldText_Flag); 11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
|
D | Paint_setDither.cpp | 8 SkPaint paint1, paint2; 10 paint2.setFlags(paint2.getFlags() | SkPaint::kDither_Flag); 11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
|
D | Paint_setEmbeddedBitmapText.cpp | 8 SkPaint paint1, paint2; 10 paint2.setFlags(paint2.getFlags() | SkPaint::kEmbeddedBitmapText_Flag); 11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
|
D | Paint_setAntiAlias.cpp | 8 SkPaint paint1, paint2; 10 paint2.setFlags(paint2.getFlags() | SkPaint::kAntiAlias_Flag); 11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
|
D | Paint_notequal_operator.cpp | 7 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()
|
D | Paint_setSubpixelText.cpp | 8 SkPaint paint1, paint2; 10 paint2.setFlags(paint2.getFlags() | SkPaint::kSubpixelText_Flag); 11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
|
D | Paint_setLCDRenderText.cpp | 8 SkPaint paint1, paint2; 10 paint2.setFlags(paint2.getFlags() | SkPaint::kLCDRenderText_Flag); 11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
|
D | Paint_getHash.cpp | 7 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()
|
D | Paint_refTypeface.cpp | 8 SkPaint paint1, paint2; 13 paint1.getTypeface() == paint2.getTypeface() ? '=' : '!'); 14 paint2.setTypeface(paint1.refTypeface()); 16 paint1.getTypeface() == paint2.getTypeface() ? '=' : '!');
|
D | Paint_setHinting.cpp | 8 SkPaint paint1, paint2; 9 paint2.setHinting(SkFontHinting::kNormal); 10 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : ':');
|
D | Paint_move_operator.cpp | 7 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()
|
D | Paint_copy_operator.cpp | 7 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()
|
D | Paint_copy_const_SkPaint.cpp | 9 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()
|
D | color_filter_vs_colorFilterImageFilter_saveLayer.cpp | 18 SkPaint paint2; in draw() local 19 paint2.setImageFilter(SkImageFilters::ColorFilter(saturate(), nullptr)); in draw() 21 canvas->saveLayer(nullptr, &paint2); in draw()
|
D | Paint_reset.cpp | 7 SkPaint paint1, paint2; in draw() local 10 SkDebugf("paint1 %c= paint2", paint1 == paint2 ? '=' : '!'); in draw()
|
D | Paint_refShader.cpp | 7 SkPaint paint1, paint2; in draw() local 10 paint2.setShader(paint1.refShader()); in draw()
|
/external/skqp/docs/ |
D | SkPaint_Reference.bmh | 96 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/ |
D | GrConfigConversionEffect.h | 86 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()
|