/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 | 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_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 | 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_setDither.cpp | 8 SkPaint paint1, paint2; 10 paint2.setFlags(paint2.getFlags() | SkPaint::kDither_Flag); 11 SkDebugf("paint1 %c= paint2\n", paint1 == paint2 ? '=' : '!');
|
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_setLCDRenderText.cpp | 8 SkPaint paint1, paint2; 10 paint2.setFlags(paint2.getFlags() | SkPaint::kLCDRenderText_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_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 %c= 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()
|
D | Paint_refImageFilter.cpp | 7 SkPaint paint1, paint2; in draw() local 10 paint2.setImageFilter(paint1.refImageFilter()); in draw()
|
D | Paint_refMaskFilter.cpp | 7 SkPaint paint1, paint2; in draw() local 10 paint2.setMaskFilter(paint1.refMaskFilter()); in draw()
|
D | Paint_refColorFilter.cpp | 7 SkPaint paint1, paint2; in draw() local 10 paint2.setColorFilter(paint1.refColorFilter()); in draw()
|
D | Paint_refPathEffect.cpp | 7 SkPaint paint1, paint2; in draw() local 11 paint2.setPathEffect(paint1.refPathEffect()); in draw()
|
D | skcanvas_paint.cpp | 39 SkPaint paint2; in draw() local 41 canvas->drawTextBlob(text.get(), 50, 25, paint2); in draw()
|