FastLED 3.10.10
Loading...
Searching...
No Matches

◆ PolyFill

enum class fl::gfx::PolyFill
strong

Fill backend for drawPolygon Both backends use the even-odd rule and the same row/vertex conventions; they differ in the per-pixel coverage model:

  • Exact: exact per-pixel sub-pixel area integration (256 alpha levels). The default; byte-stable across builds.
  • ABuffer: 8x4 subpixel A-buffer sampling (32 alpha levels, 32-bit masks, no division in the scan loops, shallow stack). Faster on dense fills and low-memory targets; see fl/gfx/poly_abuffer.h.
Enumerator
Exact 
ABuffer 

Definition at line 38 of file canvas.h.