gigawidgets
0.3.55
A wxWidgets-style UI library for the Arduino Giga Display Shield.
Loading...
Searching...
No Matches
Functions
grayscale.hpp File Reference
Go to the source code of this file.
Functions
color_t
ui::shader::grayscale
(
color_t
pixel, const
Coords
&coords, const
Size
&size)
A pixel shader that converts an image to grayscale.
Function Documentation
◆
grayscale()
color_t ui::shader::grayscale
(
color_t
pixel
,
const
Coords
&
coords
,
const
Size
&
size
)
A pixel shader that converts an image to grayscale.
Parameters
pixel
The original pixel color.
coords
The coords of the current pixel.
size
The total size of the image.
src
ui
shaders
grayscale.hpp
Generated by
1.9.8