Home
last modified time | relevance | path

Searched refs:fillPaint (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/docs/examples/
Dskpaint_mix.cpp6 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()
DPath_FillType_a.cpp16 SkPaint fillPaint; in draw() local
23 canvas->drawPath(path, fillPaint); in draw()
DPath_FillType_b.cpp24 SkPaint fillPaint;
30 canvas->drawPath(path, fillPaint);
/third_party/skia/gm/
Dpostercircle.cpp58 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()
Dcircularclips.cpp53 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()
Dcrbug_224618.cpp93 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()
Dshadertext3.cpp117 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()
Dstrokes.cpp129 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()
Dcomplexclip2.cpp147 SkPaint fillPaint; in onDraw() local
148 fillPaint.setColor(SkColorSetRGB(0xA0,0xDD,0xA0)); in onDraw()
193 canvas->drawRect(SkRect::MakeWH(fWidth, fHeight), fillPaint); in onDraw()
Dcubicpaths.cpp87 SkPaint framePaint, fillPaint; in drawOne() local
93 canvas->drawPath(path, fillPaint); in drawOne()
/third_party/skia/modules/svg/src/
DSkSVGShape.cpp16 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()
DSkSVGFilterContext.cpp82 const auto& fillPaint = ctx.fillPaint(); in getInput() local
83 if (fillPaint.isValid()) { in getInput()
84 result = SkImageFilters::Paint(*fillPaint); in getInput()
DSkSVGTextPriv.h147 std::unique_ptr<SkPaint> fillPaint, member
DSkSVGText.cpp297 fCurrentFill = ctx.fillPaint(); in shapeFragment()
424 fCallback(ctx, blobBuilder.make(), run.fillPaint.get(), run.strokePaint.get()); in flushChunk()
DSkSVGRenderContext.cpp466 SkTLazy<SkPaint> SkSVGRenderContext::fillPaint() const { in fillPaint() function in SkSVGRenderContext
/third_party/skia/bench/
DChartBench.cpp140 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/
DSampleChart.cpp124 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/
Dcanvas2dcontext.js642 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/
DSkFontHost_FreeType_common.cpp767 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/
DSkSVGRenderContext.h134 SkTLazy<SkPaint> fillPaint() const;
/third_party/skia/tests/
DGrStyledShapeTest.cpp2250 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/
DSkXPSDevice.cpp1156 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint() local
1162 this->internalDrawRect(r, false, *fillPaint); in drawPaint()