5#ifndef FLUTTER_IMPELLER_TESSELLATOR_TESSELLATOR_LIBTESS_H_
6#define FLUTTER_IMPELLER_TESSELLATOR_TESSELLATOR_LIBTESS_H_
41 size_t vertices_count,
42 const uint16_t* indices,
43 size_t indices_count)>;
Paths are lightweight objects that describe a collection of linear, quadratic, or cubic segments....
An extended tessellator that offers arbitrary/concave tessellation via the libtess2 library.
std::function< bool(const float *vertices, size_t vertices_count, const uint16_t *indices, size_t indices_count)> BuilderCallback
A callback that returns the results of the tessellation.
Tessellator::Result Tessellate(const Path &path, Scalar tolerance, const BuilderCallback &callback)
Generates filled triangles from the path. A callback is invoked once for the entire tessellation.
A utility that generates triangles of the specified fill type given a polyline. This happens on the C...
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
void DestroyTessellator(TESStesselator *tessellator)
std::unique_ptr< TESStesselator, decltype(&DestroyTessellator)> CTessellator