#include <MiddleOutPolygonTriangulator.h>
◆ PathMiddleOutFanIter()
skgpu::tess::PathMiddleOutFanIter::PathMiddleOutFanIter |
( |
const SkPath & |
path | ) |
|
|
inline |
Definition at line 209 of file MiddleOutPolygonTriangulator.h.
209 : fMiddleOut(
path.countVerbs()) {
211 fPathIter = it.begin();
212 fPathEnd = it.end();
213 }
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
◆ done()
bool skgpu::tess::PathMiddleOutFanIter::done |
( |
| ) |
const |
|
inline |
◆ nextStack()
Definition at line 217 of file MiddleOutPolygonTriangulator.h.
217 {
219 if (fPathIter == fPathEnd) {
220 fDone = true;
221 return fMiddleOut.
close();
222 }
223 switch (
auto [verb, pts,
w] = *fPathIter++; verb) {
234 return fMiddleOut.
close();
235 }
237 }
@ kClose
SkPath::RawIter returns 0 points.
@ kCubic
SkPath::RawIter returns 4 points.
@ kConic
SkPath::RawIter returns 3 points + 1 weight.
@ kQuad
SkPath::RawIter returns 3 points.
@ kMove
SkPath::RawIter returns 1 point.
@ kLine
SkPath::RawIter returns 2 points.
static int PtsInIter(unsigned verb)
PoppedTriangleStack pushVertex(SkPoint pt)
PoppedTriangleStack close()
PoppedTriangleStack closeAndMove(SkPoint newStartPoint)
The documentation for this class was generated from the following file: