8#ifndef GrAATriangulator_DEFINED
9#define GrAATriangulator_DEFINED
12#if !defined(SK_ENABLE_OPTIMIZE_SIZE)
33 aaTriangulator.fRoundVerticesToQuarterPixel =
true;
34 aaTriangulator.fEmitCoverage =
true;
36 auto [ polys, success ] = aaTriangulator.pathToPolys(tolerance, clipBounds, &isLinear);
40 return aaTriangulator.polysToAATriangles(polys, vertexAllocator);
55 enum class Op { kLessThan, kGreaterThan };
static int PathToAATriangles(const SkPath &path, SkScalar tolerance, const SkRect &clipBounds, GrEagerVertexAllocator *vertexAllocator)
static constexpr int kArenaDefaultChunkSize
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
bool operator()(Event *const &e1, Event *const &e2)
Event(SSEdge *edge, const SkPoint &point, uint8_t alpha)
void apply(VertexList *mesh, const Comparator &, EventList *events, GrAATriangulator *)