FastLED 3.9.15
|
Tile2x2_u8 fl::splat | ( | vec2f | xy | ) |
"Splat" as in "splat pixel rendering" takes a pixel value in float x,y coordinates and "splats" it into a 2x2 tile of pixel values.
Each of the four pixels in the tile is a uint8_t value in the range [0..255] that represents the intensity of the pixel at that point. Tile2x2_u8 splat(vec2f xy);
Definition at line 14 of file splat.cpp.
References fl::Tile2x2_u8::lower_left(), fl::Tile2x2_u8::lower_right(), to_uint8(), fl::Tile2x2_u8::upper_left(), fl::Tile2x2_u8::upper_right(), x, xy(), and y.
Referenced by fl::Corkscrew::at_splat(), and fl::XYPathRenderer::at_subpixel().