|
FastLED 3.10.10
|
|
inline |
Pixel column floor(v / 65536) of a row-extent bound v = x +/- hw, clamped to [-1, width].
A near-horizontal edge puts v ~2^45 Q16 off the canvas even for a small on-canvas polygon, so the column must be clamped before it is narrowed to int (16-bit on AVR, where the unclamped value wrapped and blanked whole rows). The clamp is lossless for the kernel: every use compares the bound against a column in [0, width).
Definition at line 291 of file primitives.h.
References fl::FL_NO_EXCEPT, floorDiv16I64(), polyColClamped(), and fl::width.
Referenced by drawPolygonCore(), and polyColClamped().
Here is the call graph for this function:
Here is the caller graph for this function: