Accessing Flutter Triangulation Routines

Hi

I am guessing that somewhere down in the guts of Flutter, the Flutter engine must triangulate polygons (filled paths) into triangles for rendering.

If that is the case, then is that triangulation code accessible to a Flutter developer?

thanks
CW

I expect this is in Skia / Impeller, and it’s C++ code.

I expect that too. I was just wondering if it was perhaps accessible via some ffi.

I’d be very surprised since this is very much down the pipe, but FWIW, if I were looking, I’d start here: flutter/engine/src/flutter/impeller/geometry at master · flutter/flutter · GitHub