5#ifndef FLUTTER_IMPELLER_TESSELLATOR_TESSELLATOR_LIBTESS_H_
6#define FLUTTER_IMPELLER_TESSELLATOR_TESSELLATOR_LIBTESS_H_
46 size_t vertices_count,
47 const uint16_t* indices,
48 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.
TessellatorLibtess::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.
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function
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
void DestroyTessellator(TESStesselator *tessellator)
std::unique_ptr< TESStesselator, decltype(&DestroyTessellator)> CTessellator