Home
last modified time | relevance | path

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

12

/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/flutter/skia/gm/
Dpostercircle.cpp59 SkPaint fillPaint; in onOnceBeforeDraw() local
60 fillPaint.setAntiAlias(true); in onOnceBeforeDraw()
61 fillPaint.setColor(i % 2 == 0 ? SkColorSetRGB(0x99, 0x5C, 0x7F) in onOnceBeforeDraw()
64 10.f, 10.f), fillPaint); in onOnceBeforeDraw()
138 SkPaint fillPaint; in onDraw() local
139 fillPaint.setAntiAlias(true); in onDraw()
140 fillPaint.setAlphaf(0.7f); in onDraw()
141 fillPaint.setFilterQuality(kLow_SkFilterQuality); in onDraw()
142 canvas->drawImageRect(fPosterImages[i], poster, &fillPaint); in onDraw()
Dcircularclips.cpp58 SkPaint fillPaint; in onDraw() local
61 fillPaint.setColor(0x80808080); in onDraw()
68 canvas->drawRect(rect, fillPaint); in onDraw()
72 fillPaint.setColor(0xFF000000); in onDraw()
87 canvas->drawRect(rect, fillPaint); in onDraw()
Dshadertext3.cpp117 SkPaint fillPaint; in onDraw() local
118 fillPaint.setAntiAlias(true); in onDraw()
119 fillPaint.setFilterQuality(kLow_SkFilterQuality); in onDraw()
120 fillPaint.setShader(fBmp.makeShader(kTileModes[tm0], kTileModes[tm1], &localM)); 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.cpp152 SkPaint fillPaint; in onDraw() local
153 fillPaint.setColor(SkColorSetRGB(0xA0,0xDD,0xA0)); in onDraw()
198 canvas->drawRect(SkRect::MakeWH(fWidth, fHeight), fillPaint); in onDraw()
/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()
/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()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGShape.cpp17 if (const SkPaint* fillPaint = ctx.fillPaint()) { in onRender() local
18 this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint, fillType); in onRender()
/third_party/flutter/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/flutter/skia/samplecode/
DSampleChart.cpp129 SkPaint fillPaint; in onDrawContent() local
135 fillPaint.setAntiAlias(true); in onDrawContent()
136 fillPaint.setStyle(SkPaint::kFill_Style); in onDrawContent()
150 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in onDrawContent()
151 canvas->drawPath(fillPath, fillPaint); in onDrawContent()
/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/flutter/skia/docs/examples/
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/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/flutter/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js671 var fillPaint = this._fillPaint();
673 var shadowPaint = this._shadowPaint(fillPaint);
681 this._canvas.drawPath(path, fillPaint);
682 fillPaint.dispose();
686 var fillPaint = this._fillPaint();
687 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), fillPaint);
688 fillPaint.dispose();
693 var fillPaint = this._fillPaint();
696 var shadowPaint = this._shadowPaint(fillPaint);
704 this._canvas.drawTextBlob(blob, x, y, fillPaint);
[all …]

12