Home
last modified time | relevance | path

Searched refs:setPath (Results 1 – 25 of 125) sorted by relevance

12345

/third_party/flutter/skia/src/core/
DSkRasterClip.cpp228 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { in setPath() function in SkRasterClip
232 (void)fBW.setPath(path, clip); in setPath()
239 (void)fAA.setPath(path, &clip, doAA); in setPath()
280 return this->setPath(devPath, this->bwRgn(), doAA); in op()
284 clip.setPath(devPath, base, doAA); in op()
291 return this->setPath(devPath, base, doAA); in op()
294 clip.setPath(devPath, base, doAA); in op()
300 bool SkRasterClip::setPath(const SkPath& path, const SkIRect& clip, bool doAA) { in setPath() function in SkRasterClip
303 return this->setPath(path, tmp, doAA); in setPath()
/third_party/flutter/skia/tests/
DPathMeasureTest.cpp91 meas.setPath(&path, false); in DEF_TEST()
97 meas.setPath(&path, true); in DEF_TEST()
108 meas.setPath(&path, false); in DEF_TEST()
138 meas.setPath(&path, false); in DEF_TEST()
174 meas.setPath(&path, false); in DEF_TEST()
215 stdm.setPath(&p, false); in DEF_TEST()
DAAClipTest.cpp140 rgn->setPath(path, SkRegion(ir)); in setRgnToPath()
200 clip.setPath(path, nullptr, true); in test_path_bounds()
214 clip.setPath(path, nullptr, true); in test_path_bounds()
323 clip.setPath(path, nullptr, 1 == i); in test_path_with_hole()
341 clip.setPath(path); in test_really_a_rect()
/third_party/skia/tests/
DPathMeasureTest.cpp92 meas.setPath(&path, false); in DEF_TEST()
98 meas.setPath(&path, true); in DEF_TEST()
109 meas.setPath(&path, false); in DEF_TEST()
139 meas.setPath(&path, false); in DEF_TEST()
175 meas.setPath(&path, false); in DEF_TEST()
216 stdm.setPath(&p, false); in DEF_TEST()
DAAClipTest.cpp161 rgn->setPath(path, SkRegion(ir)); in setRgnToPath()
208 clip.setPath(path, path.getBounds().roundOut(), true); in test_path_bounds()
222 clip.setPath(path, path.getBounds().roundOut(), true); in test_path_bounds()
326 clip.setPath(path, path.getBounds().roundOut(), 1 == i); in test_path_with_hole()
344 clip.setPath(path, path.getBounds().roundOut(), true); in test_really_a_rect()
407 clip.setPath(SkPath::Rect(r), r.roundOut(), true); in test_regressions()
/third_party/flutter/skia/docs/examples/
DRegion_op_3.cpp15 opRegion.setPath(opPath, SkRegion(drawBounds));
16 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_intersects_2.cpp14 hRegion.setPath(hPath, SkRegion({0, 0, 256, 256}));
15 dotRegion.setPath(dotPath, SkRegion({0, 0, 256, 256}));
DRegion_contains_3.cpp15 xRegion.setPath(xPath, SkRegion(drawBounds));
16 testRegion.setPath(testPath, SkRegion(drawBounds));
DRegion_op_4.cpp15 opRegion.setPath(opPath, SkRegion(drawBounds));
16 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_op_5.cpp15 opRegion.setPath(opPath, SkRegion(drawBounds));
16 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_op_6.cpp17 opRegion.setPath(opPath, SkRegion(drawBounds));
18 xRegion.setPath(xPath, SkRegion(drawBounds));
/third_party/skia/docs/examples/
DRegion_op_3.cpp15 opRegion.setPath(opPath, SkRegion(drawBounds));
16 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_intersects_2.cpp14 hRegion.setPath(hPath, SkRegion({0, 0, 256, 256}));
15 dotRegion.setPath(dotPath, SkRegion({0, 0, 256, 256}));
DRegion_contains_3.cpp15 xRegion.setPath(xPath, SkRegion(drawBounds));
16 testRegion.setPath(testPath, SkRegion(drawBounds));
DRegion_op_4.cpp15 opRegion.setPath(opPath, SkRegion(drawBounds));
16 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_op_5.cpp15 opRegion.setPath(opPath, SkRegion(drawBounds));
16 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_op_6.cpp17 opRegion.setPath(opPath, SkRegion(drawBounds));
18 xRegion.setPath(xPath, SkRegion(drawBounds));
/third_party/flutter/skia/gm/
Dconvexpolyclip.cpp122 fClips.addToTail()->setPath(tri); in onOnceBeforeDraw()
138 fClips.addToTail()->setPath(hexagon); in onOnceBeforeDraw()
143 fClips.addToTail()->setPath(hexagon); in onOnceBeforeDraw()
153 fClips.addToTail()->setPath(rotRect); in onOnceBeforeDraw()
275 void setPath(const SkPath& path) { in setPath() function in skiagm::ConvexPolyClip::Clip
Dsimpleaaclip.cpp86 clip->setPath(fBasePath, nullptr, true); in buildRgn()
89 clip2.setPath(fRectPath, nullptr, true); in buildRgn()
/third_party/skia/gm/
Dconvexpolyclip.cpp120 emplace_back(fClips).setPath(SkPath::Polygon({ in onOnceBeforeDraw()
140 emplace_back(fClips).setPath(hexagon.snapshot()); in onOnceBeforeDraw()
144 emplace_back(fClips).setPath(hexagon.detach().makeTransform(scaleM)); in onOnceBeforeDraw()
151 emplace_back(fClips).setPath(SkPath::Rect(rect).makeTransform(rotM)); in onOnceBeforeDraw()
268 void setPath(const SkPath& path) { in setPath() function in skiagm::ConvexPolyClip::Clip
Dsimpleaaclip.cpp86 clip->setPath(fBasePath, fBasePath.getBounds().roundOut(), true); in buildRgn()
89 clip2.setPath(fRectPath, fRectPath.getBounds().roundOut(), true); in buildRgn()
/third_party/skia/src/core/
DSkRasterClip.cpp70 fAA.setPath(path, bounds, true); in SkRasterClip()
73 fBW.setPath(path, SkRegion(bounds)); in SkRasterClip()
193 fBW.setPath(devPath, SkRegion(this->getBounds())); in op()
195 fAA.setPath(devPath, this->getBounds(), doAA); in op()
/third_party/skia/bench/
DAAClipBench.cpp199 clip.setPath(fPath, fBounds, fDoAA); in onDraw()
202 clip.setPath(SkPath::Rect(fRect), fBounds, fDoAA); in onDraw()
226 fRegion.setPath(path, SkRegion(bounds)); in AAClipRegionBench()
/third_party/flutter/skia/samplecode/
DSampleAAClip.cpp74 aaclip.setPath(path); in onDrawContent()
80 aaclip2.setPath(path); in onDrawContent()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpath_measure.cc25 V(PathMeasure, setPath) \
59 void CanvasPathMeasure::setPath(const CanvasPath* path, bool isClosed) { in setPath() function in flutter::CanvasPathMeasure

12345