Home
last modified time | relevance | path

Searched refs:makePaint (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/docs/examples/
Dpathops.cpp5 void makePaint(SkPaint * paint, SkColor color) { in makePaint() function
30 makePaint(&fOnePaint, oneColor); in draw()
31 makePaint(&fTwoPaint, twoColor); in draw()
32 makePaint(&fOpPaint[kDifference_SkPathOp], oneColor); in draw()
33 makePaint(&fOpPaint[kIntersect_SkPathOp], blendColor); in draw()
34 makePaint(&fOpPaint[kUnion_SkPathOp], 0xFFc0FFc0); in draw()
35 makePaint(&fOpPaint[kReverseDifference_SkPathOp], twoColor); in draw()
36 makePaint(&fOpPaint[kXOR_SkPathOp], 0xFFa0FFe0); in draw()
37 makePaint(&fOutlinePaint, 0xFF000000); in draw()
/third_party/flutter/skia/gm/
Dpathopsinverse.cpp33 makePaint(&fOnePaint, oneColor); in onOnceBeforeDraw()
34 makePaint(&fTwoPaint, twoColor); in onOnceBeforeDraw()
35 makePaint(&fOpPaint[kDifference_SkPathOp], oneColor); in onOnceBeforeDraw()
36 makePaint(&fOpPaint[kIntersect_SkPathOp], blendColor); in onOnceBeforeDraw()
37 makePaint(&fOpPaint[kUnion_SkPathOp], ToolUtils::color_to_565(0xFFc0FFc0)); in onOnceBeforeDraw()
38 makePaint(&fOpPaint[kReverseDifference_SkPathOp], twoColor); in onOnceBeforeDraw()
39 makePaint(&fOpPaint[kXOR_SkPathOp], ToolUtils::color_to_565(0xFFa0FFe0)); in onOnceBeforeDraw()
40 makePaint(&fOutlinePaint, 0xFF000000); in onOnceBeforeDraw()
54 void makePaint(SkPaint* paint, SkColor color) { in makePaint() function in skiagm::PathOpsInverseGM
/third_party/skia/gm/
Dpathopsinverse.cpp33 makePaint(&fOnePaint, oneColor); in onOnceBeforeDraw()
34 makePaint(&fTwoPaint, twoColor); in onOnceBeforeDraw()
35 makePaint(&fOpPaint[kDifference_SkPathOp], oneColor); in onOnceBeforeDraw()
36 makePaint(&fOpPaint[kIntersect_SkPathOp], blendColor); in onOnceBeforeDraw()
37 makePaint(&fOpPaint[kUnion_SkPathOp], ToolUtils::color_to_565(0xFFc0FFc0)); in onOnceBeforeDraw()
38 makePaint(&fOpPaint[kReverseDifference_SkPathOp], twoColor); in onOnceBeforeDraw()
39 makePaint(&fOpPaint[kXOR_SkPathOp], ToolUtils::color_to_565(0xFFa0FFe0)); in onOnceBeforeDraw()
40 makePaint(&fOutlinePaint, 0xFF000000); in onOnceBeforeDraw()
54 void makePaint(SkPaint* paint, SkColor color) { in makePaint() function in skiagm::PathOpsInverseGM
Druntimecolorfilter.cpp150 auto makePaint = [&](bool useCF, bool useShader) { in __anon57f393560202() variable
162 canvas->drawVertices(verts, mode, makePaint(useCF, useShader)); in __anon57f393560302()
168 SkPaint paint = makePaint(useCF, /*useShader=*/false); in __anon57f393560402()
184 SkPaint paint = makePaint(useCF, /*useShader=*/true); in __anon57f393560502()
/third_party/flutter/skia/modules/sksg/src/
DSkSGDraw.cpp32 auto paint = fPaint->makePaint(); in onRender()
46 const auto paint = fPaint->makePaint(); in onNodeAt()
70 const auto paint = fPaint->makePaint(); in onRevalidate()
DSkSGPaint.cpp17 SkPaint PaintNode::makePaint() const { in makePaint() function in sksg::PaintNode
/third_party/skia/modules/sksg/src/
DSkSGDraw.cpp32 auto paint = fPaint->makePaint(); in onRender()
46 const auto paint = fPaint->makePaint(); in onNodeAt()
70 const auto paint = fPaint->makePaint(); in onRevalidate()
DSkSGPaint.cpp18 SkPaint PaintNode::makePaint() const { in makePaint() function in sksg::PaintNode
/third_party/flutter/skia/modules/sksg/include/
DSkSGPaint.h28 SkPaint makePaint() const;
/third_party/skia/modules/sksg/include/
DSkSGPaint.h28 SkPaint makePaint() const;