TouchGFX + 0/4 examples
CodeScope will show references to touchgfx::Color::getColorFrom24BitRGB() from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
STM32F429I-Discovery
Demonstrations
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::Color::getColorFrom24BitRGB()

touchgfx::Color::getColorFrom24BitRGB() method

@fn static colortype Color::getColorFrom24BitRGB(uint8_t red, uint8_t green, uint8_t blue); Generates a color representation to be used on the LCD, based on 24 bit RGB values. Depending on your chosen color bit depth, the color will be interpreted internally as either a 16 bit or 24 bit color value. Generates a color representation to be used on the LCD, based on 24 bit RGB values. Depending on your chosen color bit depth, the color will be interpreted internally as either a 16 bit or 24 bit color value. This function can be safely used regardless of whether your application is configured for 16 or 24 bit colors.

Syntax

static colortype getColorFrom24BitRGB(uint8_t red,     uint8_t green,     uint8_t blue);

Arguments

red

Value of the red part (0-255).

green

Value of the green part (0-255).

blue

Value of the blue part (0-255).

Return value

The color, encoded in a 16- or 24-bit representation depending on LCD color depth.

Examples

touchgfx::Color::getColorFrom24BitRGB() is referenced by 4 libraries and example projects.

References

LocationText
Color.hpp:54
static colortype getColorFrom24BitRGB(uint8_t red, uint8_t green, uint8_t blue);

Type Use

Type of touchgfx::Color::getColorFrom24BitRGB()
touchgfx::Color::getColorFrom24BitRGB()
all items filtered out