FastLED 3.9.15
Loading...
Searching...
No Matches

◆ xy_line_by_line()

FASTLED_FORCE_INLINE uint16_t fl::xy_line_by_line ( uint16_t x,
uint16_t y,
uint16_t width,
uint16_t height )

Definition at line 27 of file xymap.h.

28 {
29 (void)height;
30 return y * width + x;
31}
int y
Definition Audio.ino:72
int x
Definition Audio.ino:71

References FASTLED_FORCE_INLINE, x, and y.

Referenced by fl::XYMap::mapToIndex().

+ Here is the caller graph for this function: