/third_party/skia/docs/examples/ |
D | skpaint_mix.cpp | 6 SkPaint fillPaint; in draw() local 11 canvas->drawRect(SkRect::MakeXYWH(10, 10, 60, 20), fillPaint); in draw() 19 fillPaint.setColor(SkColorSetARGB(0xFF, 0xFF, 0x00, 0x00)); in draw() 20 canvas->drawTextBlob(blob.get(), 20, 120, fillPaint); in draw() 22 fillPaint.setColor(SkColorSetARGB(0xFF, 0x00, 0x00, 0xFF)); in draw() 23 canvas->drawTextBlob(blob.get(), 20, 220, fillPaint); in draw()
|
D | Path_FillType_a.cpp | 16 SkPaint fillPaint; in draw() local 23 canvas->drawPath(path, fillPaint); in draw()
|
D | Path_FillType_b.cpp | 24 SkPaint fillPaint; 30 canvas->drawPath(path, fillPaint);
|
/third_party/skia/gm/ |
D | postercircle.cpp | 58 SkPaint fillPaint; in onOnceBeforeDraw() local 59 fillPaint.setAntiAlias(true); in onOnceBeforeDraw() 60 fillPaint.setColor(i % 2 == 0 ? SkColorSetRGB(0x99, 0x5C, 0x7F) in onOnceBeforeDraw() 63 10.f, 10.f), fillPaint); in onOnceBeforeDraw() 130 SkPaint fillPaint; in onDraw() local 131 fillPaint.setAntiAlias(true); in onDraw() 132 fillPaint.setAlphaf(0.7f); in onDraw() 134 SkSamplingOptions(SkFilterMode::kLinear), &fillPaint); in onDraw()
|
D | circularclips.cpp | 53 SkPaint fillPaint; in onDraw() local 56 fillPaint.setColor(0x80808080); in onDraw() 63 canvas->drawRect(rect, fillPaint); in onDraw() 67 fillPaint.setColor(0xFF000000); in onDraw() 82 canvas->drawRect(rect, fillPaint); in onDraw()
|
D | crbug_224618.cpp | 93 SkPaint fillPaint; in onDraw() local 94 fillPaint.setAntiAlias(true); in onDraw() 95 fillPaint.setColor(faceColors[i]); in onDraw() 98 canvas->drawRect(SkRect::MakeWH(viewportWidth, viewportWidth), fillPaint); in onDraw() 104 SkSamplingOptions(SkFilterMode::kLinear), &fillPaint, in onDraw()
|
D | shadertext3.cpp | 117 SkPaint fillPaint; in onDraw() local 118 fillPaint.setAntiAlias(true); in onDraw() 119 fillPaint.setShader(fBmp.makeShader(kTileModes[tm0], kTileModes[tm1], in onDraw() 123 canvas->drawString(kText, 0, 0, font, fillPaint); in onDraw()
|
D | strokes.cpp | 129 SkPaint fillPaint, strokePaint, dashPaint; in onDraw() local 130 fillPaint.setAntiAlias(true); in onDraw() 131 strokePaint = fillPaint; in onDraw() 134 fillPaint.setAlphaf(1.0f); in onDraw() 151 canvas->drawPath(fRefPath[i * 2], fillPaint); in onDraw() 159 fillPaint.setAlphaf(0.5f); in onDraw() 160 canvas->drawPath(fRefPath[1 + i * 2], fillPaint); in onDraw() 403 SkPaint fillPaint(origPaint); in onDraw() local 404 fillPaint.setColor(SK_ColorRED); in onDraw() 430 canvas->drawPath(fill, fillPaint); in onDraw()
|
D | complexclip2.cpp | 147 SkPaint fillPaint; in onDraw() local 148 fillPaint.setColor(SkColorSetRGB(0xA0,0xDD,0xA0)); in onDraw() 193 canvas->drawRect(SkRect::MakeWH(fWidth, fHeight), fillPaint); in onDraw()
|
D | cubicpaths.cpp | 87 SkPaint framePaint, fillPaint; in drawOne() local 93 canvas->drawPath(path, fillPaint); in drawOne()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGShape.cpp | 16 const auto fillPaint = ctx.fillPaint(), in onRender() local 20 if (fillPaint.isValid()) { in onRender() 21 this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint, fillType); in onRender()
|
D | SkSVGFilterContext.cpp | 82 const auto& fillPaint = ctx.fillPaint(); in getInput() local 83 if (fillPaint.isValid()) { in getInput() 84 result = SkImageFilters::Paint(*fillPaint); in getInput()
|
D | SkSVGTextPriv.h | 147 std::unique_ptr<SkPaint> fillPaint, member
|
D | SkSVGText.cpp | 297 fCurrentFill = ctx.fillPaint(); in shapeFragment() 424 fCallback(ctx, blobBuilder.make(), run.fillPaint.get(), run.strokePaint.get()); in flushChunk()
|
D | SkSVGRenderContext.cpp | 466 SkTLazy<SkPaint> SkSVGRenderContext::fillPaint() const { in fillPaint() function in SkSVGRenderContext
|
/third_party/skia/bench/ |
D | ChartBench.cpp | 140 SkPaint fillPaint; in onDraw() local 146 fillPaint.setAntiAlias(fAA); in onDraw() 147 fillPaint.setStyle(SkPaint::kFill_Style); in onDraw() 161 fillPaint.setColor((colors[i] & 0x00ffffff) | 0x80000000); in onDraw() 162 canvas->drawPath(fillPath, fillPaint); in onDraw()
|
/third_party/skia/samplecode/ |
D | SampleChart.cpp | 124 SkPaint fillPaint; in onDrawContent() local 130 fillPaint.setAntiAlias(true); in onDrawContent() 131 fillPaint.setStyle(SkPaint::kFill_Style); in onDrawContent() 147 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in onDrawContent() 148 canvas->drawPath(fillPath.detach(), fillPaint); in onDrawContent()
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
D | canvas2dcontext.js | 642 var fillPaint = this._fillPaint(); 644 var shadowPaint = this._shadowPaint(fillPaint); 652 this._canvas.drawPath(path, fillPaint); 653 fillPaint.dispose(); 657 var fillPaint = this._fillPaint(); 659 var shadowPaint = this._shadowPaint(fillPaint); 668 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), fillPaint); 669 fillPaint.dispose(); 674 var fillPaint = this._fillPaint(); 677 var shadowPaint = this._shadowPaint(fillPaint); [all …]
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 767 FT_COLR_Paint glyphPaint, FT_COLR_Paint fillPaint) { in colrv1_draw_glyph_with_path() argument 769 SkASSERT(fillPaint.format == FT_COLR_PAINTFORMAT_SOLID || in colrv1_draw_glyph_with_path() 770 fillPaint.format == FT_COLR_PAINTFORMAT_LINEAR_GRADIENT || in colrv1_draw_glyph_with_path() 771 fillPaint.format == FT_COLR_PAINTFORMAT_RADIAL_GRADIENT || in colrv1_draw_glyph_with_path() 772 fillPaint.format == FT_COLR_PAINTFORMAT_SWEEP_GRADIENT); in colrv1_draw_glyph_with_path() 776 if (!colrv1_configure_skpaint(face, palette, foregroundColor, fillPaint, &skiaFillPaint)) { in colrv1_draw_glyph_with_path() 915 FT_COLR_Paint fillPaint; in colrv1_traverse_paint() local 916 if (!FT_Get_Paint(face, paint.u.glyph.paint, &fillPaint)) { in colrv1_traverse_paint() 919 if (fillPaint.format == FT_COLR_PAINTFORMAT_SOLID || in colrv1_traverse_paint() 920 fillPaint.format == FT_COLR_PAINTFORMAT_LINEAR_GRADIENT || in colrv1_traverse_paint() [all …]
|
/third_party/skia/modules/svg/include/ |
D | SkSVGRenderContext.h | 134 SkTLazy<SkPaint> fillPaint() const;
|
/third_party/skia/tests/ |
D | GrStyledShapeTest.cpp | 2250 SkPaint fillPaint; in DEF_TEST() local 2251 TestCase fillPathCase(reporter, rrgeo.path(), fillPaint); in DEF_TEST() 2253 REPORTER_ASSERT(reporter, rrgeo.isNonPath(fillPaint) == in DEF_TEST() 2256 if (rrgeo.isNonPath(fillPaint)) { in DEF_TEST() 2257 TestCase fillPathCase2(reporter, rrgeo.path(), fillPaint); in DEF_TEST() 2259 TestCase fillRRectCase(reporter, rrect, fillPaint); in DEF_TEST()
|
/third_party/skia/src/xps/ |
D | SkXPSDevice.cpp | 1156 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint() local 1162 this->internalDrawRect(r, false, *fillPaint); in drawPaint()
|