Home
last modified time | relevance | path

Searched refs:fPaint (Results 1 – 25 of 176) sorted by relevance

12345678

/third_party/skia/modules/skparagraph/src/
DDecorations.cpp51 canvas->drawPath(fPath, fPaint); in paint()
60 canvas->drawPath(fPath, fPaint); in paint()
62 canvas->drawPath(fPath, fPaint); in paint()
64 draw_line_as_rect(canvas, x, y, width, fPaint); in paint()
65 draw_line_as_rect(canvas, x, bottom, width, fPaint); in paint()
75 canvas->drawPath(fPath, fPaint); in paint()
77 canvas->drawLine(x, y, x + width, y, fPaint); in paint()
85 canvas->drawPath(fPath, fPaint); in paint()
87 draw_line_as_rect(canvas, x, y, width, fPaint); in paint()
112 auto count = blob->getIntercepts(bounds, nullptr, &fPaint); in calculateGaps()
[all …]
/third_party/flutter/skia/src/core/
DSkOverdrawCanvas.cpp40 fPaint.setAntiAlias(false); in SkOverdrawCanvas()
41 fPaint.setBlendMode(SkBlendMode::kPlus); in SkOverdrawCanvas()
42 fPaint.setColorFilter(SkColorFilters::Matrix(kIncrementAlpha)); in SkOverdrawCanvas()
86 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
145 SkPaint* paintPtr = &fPaint; in onDrawAtlas()
156 fList[0]->onDrawPath(path, fPaint); in onDrawPath()
160 fList[0]->onDrawRect(SkRect::MakeXYWH(x, y, image->width(), image->height()), fPaint); in onDrawImage()
165 fList[0]->onDrawRect(dst, fPaint); in onDrawImageRect()
170 fList[0]->onDrawRect(dst, fPaint); in onDrawImageNine()
187 fList[0]->onDrawRect(iterDst, fPaint); in onDrawImageLattice()
[all …]
DSkMultiPictureDraw.cpp15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw()
28 fPaint = new SkPaint(*paint); in init()
30 fPaint = nullptr; in init()
37 delete data[i].fPaint; in Reset()
104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint); in draw()
DSkRecordPattern.h46 IsDraw() : fPaint(nullptr) {} in IsDraw()
49 type* get() { return fPaint; } in get()
53 fPaint = AsPtr(draw->paint); in operator()
59 fPaint = nullptr; in operator()
65 fPaint = nullptr; in operator()
74 type* fPaint; variable
/third_party/skia/src/core/
DSkOverdrawCanvas.cpp40 fPaint.setAntiAlias(false); in SkOverdrawCanvas()
41 fPaint.setBlendMode(SkBlendMode::kPlus); in SkOverdrawCanvas()
42 fPaint.setColorFilter(SkColorFilters::Matrix(kIncrementAlpha)); in SkOverdrawCanvas()
97 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
152 SkPaint* paintPtr = &fPaint; in onDrawAtlas2()
163 fList[0]->onDrawPath(path, fPaint); in onDrawPath()
168 fList[0]->onDrawRect(SkRect::MakeXYWH(x, y, image->width(), image->height()), fPaint); in onDrawImage2()
173 fList[0]->onDrawRect(dst, fPaint); in onDrawImageRect2()
190 fList[0]->onDrawRect(iterDst, fPaint); in onDrawImageLattice2()
193 fList[0]->onDrawRect(dst, fPaint); in onDrawImageLattice2()
[all …]
DSkRecordPattern.h46 IsDraw() : fPaint(nullptr) {} in IsDraw()
49 type* get() { return fPaint; } in get()
54 fPaint = AsPtr(draw->paint); in operator()
60 fPaint = nullptr; in operator()
66 fPaint = nullptr; in operator()
75 type* fPaint; variable
/third_party/flutter/skia/modules/sksg/src/
DSkSGDraw.cpp21 , fPaint(std::move(paint)) { in Draw()
23 this->observeInval(fPaint); in Draw()
28 this->unobserveInval(fPaint); in ~Draw()
32 auto paint = fPaint->makePaint(); in onRender()
46 const auto paint = fPaint->makePaint(); in onNodeAt()
68 fPaint->revalidate(ic, ctm); in onRevalidate()
70 const auto paint = fPaint->makePaint(); in onRevalidate()
/third_party/skia/modules/sksg/src/
DSkSGDraw.cpp21 , fPaint(std::move(paint)) { in Draw()
23 this->observeInval(fPaint); in Draw()
28 this->unobserveInval(fPaint); in ~Draw()
32 auto paint = fPaint->makePaint(); in onRender()
46 const auto paint = fPaint->makePaint(); in onNodeAt()
68 fPaint->revalidate(ic, ctm); in onRevalidate()
70 const auto paint = fPaint->makePaint(); in onRevalidate()
/third_party/flutter/skia/tools/debugger/
DDrawCommand.cpp1140 : INHERITED(kDrawBitmap_OpType), fBitmap(bitmap), fLeft(left), fTop(top), fPaint(paint) {} in DrawBitmapCommand()
1143 canvas->drawBitmap(fBitmap, fLeft, fTop, fPaint.getMaybeNull()); in execute()
1158 if (fPaint.isValid()) { in toJSON()
1160 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
1172 , fPaint(paint) {} in DrawBitmapLatticeCommand()
1175 canvas->drawBitmapLattice(fBitmap, fLattice, fDst, fPaint.getMaybeNull()); in execute()
1198 if (fPaint.isValid()) { in toJSON()
1200 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
1215 , fPaint(paint) {} in DrawBitmapNineCommand()
1218 canvas->drawBitmapNine(fBitmap, fCenter, fDst, fPaint.getMaybeNull()); in execute()
[all …]
DDrawCommand.h233 SkTLazy<SkPaint> fPaint; variable
252 SkTLazy<SkPaint> fPaint; variable
271 SkTLazy<SkPaint> fPaint; variable
291 SkTLazy<SkPaint> fPaint; variable
308 SkTLazy<SkPaint> fPaint; variable
327 SkTLazy<SkPaint> fPaint; variable
346 SkTLazy<SkPaint> fPaint; variable
366 SkTLazy<SkPaint> fPaint; variable
381 SkPaint fPaint; variable
402 SkPaint fPaint; variable
[all …]
/third_party/flutter/skia/bench/
DBezierBench.cpp16 SkPaint fPaint; member
26 const SkPaint& paint = rec->fPaint; in draw_quad()
38 const SkPaint& paint = rec->fPaint; in draw_cubic()
84 this->setupPaint(&fRec.fPaint); in onDraw()
85 fRec.fPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
86 fRec.fPaint.setStrokeCap(fCap); in onDraw()
87 fRec.fPaint.setStrokeJoin(fJoin); in onDraw()
88 fRec.fPaint.setStrokeWidth(fWidth); in onDraw()
DColorFilterBench.cpp40 fPaint.setColor(SK_ColorRED); in FilteredRectBench()
53 fPaint.setColorFilter(make_grayscale()); in onDelayedSetup()
56 fPaint.setImageFilter(SkImageFilters::ColorFilter(make_grayscale(), nullptr)); in onDelayedSetup()
64 canvas->drawRect(r, fPaint); in onDraw()
69 SkPaint fPaint; member in FilteredRectBench
DCoverageBench.cpp19 SkPaint fPaint; member in DrawPathBench
29 fPaint.setAntiAlias(true); in DrawPathBench()
59 fDraw.drawPathCoverage(fPath, fPaint); in onDraw()
63 fDraw.drawPath(fPath, fPaint); in onDraw()
DDrawBitmapAABench.cpp25 fPaint.setAntiAlias(doAA); in DrawBitmapAABench()
27 fPaint.setFilterQuality(kLow_SkFilterQuality); in DrawBitmapAABench()
44 canvas->drawBitmap(fBitmap, 0, 0, &fPaint); in onDraw()
49 SkPaint fPaint; member in DrawBitmapAABench
DPictureNestingBench.cpp23 fPaint.setColor(SK_ColorRED); in PictureNesting()
24 fPaint.setAntiAlias(true); in PictureNesting()
25 fPaint.setStyle(SkPaint::kStroke_Style); in PictureNesting()
38 SkDEBUGCODE(int pics = ) this->sierpinsky(canvas, 0, fPaint); in doDraw()
103 SkPaint fPaint; member in PictureNesting
/third_party/skia/bench/
DBezierBench.cpp16 SkPaint fPaint; member
26 const SkPaint& paint = rec->fPaint; in draw_quad()
38 const SkPaint& paint = rec->fPaint; in draw_cubic()
84 this->setupPaint(&fRec.fPaint); in onDraw()
85 fRec.fPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
86 fRec.fPaint.setStrokeCap(fCap); in onDraw()
87 fRec.fPaint.setStrokeJoin(fJoin); in onDraw()
88 fRec.fPaint.setStrokeWidth(fWidth); in onDraw()
DCoverageBench.cpp20 SkPaint fPaint; member in DrawPathBench
31 fPaint.setAntiAlias(true); in DrawPathBench()
60 fDraw.drawPathCoverage(fPath, fPaint); in onDraw()
64 fDraw.drawPath(fPath, fPaint); in onDraw()
DPictureNestingBench.cpp23 fPaint.setColor(SK_ColorRED); in PictureNesting()
24 fPaint.setAntiAlias(true); in PictureNesting()
25 fPaint.setStyle(SkPaint::kStroke_Style); in PictureNesting()
38 SkDEBUGCODE(int pics = ) this->sierpinsky(canvas, 0, fPaint); in doDraw()
103 SkPaint fPaint; member in PictureNesting
DPatchBench.cpp114 this->setupPaint(&fPaint); in onDelayedSetup()
118 fPaint.setShader(this->createShader()); in onDelayedSetup()
121 fPaint.setShader(nullptr); in onDelayedSetup()
131 canvas->drawPatch(fCubics, nullptr, nullptr, fPaint); in onDraw()
134 canvas->drawPatch(fCubics, fColors, nullptr, fPaint); in onDraw()
137 canvas->drawPatch(fCubics, nullptr, fTexCoords, fPaint); in onDraw()
140 canvas->drawPatch(fCubics, fColors, fTexCoords, fPaint); in onDraw()
148 SkPaint fPaint; member in PatchBench
/third_party/skia/experimental/sorttoy/
DCmds.cpp52 , fPaint(p) { in DrawCmd()
65 , fPaint(p) in DrawCmd()
99 return SortKey(fPaint.isTransparent(), this->getSortZ(), fPaint.toID()); in getKey()
103 c->drawShape(fID, fShape, fRect, fPaint); in execute()
109 SkColor4f::FromColor(fPaint.c0()), in execute()
110 SkColor4f::FromColor(fPaint.c1()) in execute()
114 if (fPaint.toID() == kSolidMat) { in execute()
115 p.setColor(fPaint.c0()); in execute()
116 } else if (fPaint.toID() == kLinearMat) { in execute()
121 SkASSERT(fPaint.toID() == kRadialMat); in execute()
[all …]
/third_party/flutter/skia/samplecode/
DSampleEffects.cpp61 SkPaint fPaint[SK_ARRAY_COUNT(gPaintProcs)]; member in EffectsView
80 fPaint[i].setAntiAlias(true); in EffectsView()
81 fPaint[i].setColor(COLOR); in EffectsView()
82 gPaintProcs[i](&fPaint[i]); in EffectsView()
98 for (size_t i = 0; i < SK_ARRAY_COUNT(fPaint); i++) { in onDrawContent()
99 canvas->drawPath(fPath, fPaint[i]); in onDrawContent()
/third_party/skia/samplecode/
DSampleEffects.cpp61 SkPaint fPaint[SK_ARRAY_COUNT(gPaintProcs)]; member in EffectsView
80 fPaint[i].setAntiAlias(true); in EffectsView()
81 fPaint[i].setColor(COLOR); in EffectsView()
82 gPaintProcs[i](&fPaint[i]); in EffectsView()
94 for (size_t i = 0; i < SK_ARRAY_COUNT(fPaint); i++) { in onDrawContent()
95 canvas->drawPath(fPath, fPaint[i]); in onDrawContent()
/third_party/skia/tools/debugger/
DDrawCommand.cpp1179 , fPaint(paint) {} in DrawImageCommand()
1182 canvas->drawImage(fImage.get(), fLeft, fTop, fSampling, fPaint.getMaybeNull()); in execute()
1206 if (fPaint.isValid()) { in toJSON()
1208 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
1240 , fPaint(paint) {} in DrawImageLatticeCommand()
1243 canvas->drawImageLattice(fImage.get(), fLattice, fDst, fFilter, fPaint.getMaybeNull()); in execute()
1267 if (fPaint.isValid()) { in toJSON()
1269 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON()
1287 , fPaint(paint) in DrawImageRectCommand()
1291 canvas->drawImageRect(fImage.get(), fSrc, fDst, fSampling, fPaint.getMaybeNull(), fConstraint); in execute()
[all …]
DDrawCommand.h277 SkTLazy<SkPaint> fPaint; variable
299 SkTLazy<SkPaint> fPaint; variable
322 SkTLazy<SkPaint> fPaint; variable
352 SkTLazy<SkPaint> fPaint; variable
367 SkPaint fPaint; variable
388 SkPaint fPaint; variable
401 SkPaint fPaint;
414 SkPaint fPaint;
428 SkPaint fPaint; variable
443 SkTLazy<SkPaint> fPaint; variable
[all …]
/third_party/flutter/skia/src/effects/imagefilters/
DSkPaintImageFilter.cpp24 , fPaint(paint) {} in SkPaintImageFilterImpl()
36 SkPaint fPaint;
65 buffer.writePaint(fPaint); in flatten()
96 canvas->drawRect(rect, fPaint); in onFilterImage()

12345678