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

touchgfx::Color::getRedColor() method

@fn static inline uint8_t Color::getRedColor(colortype color) Gets the red color part of a color. Gets the red color part of a color. As this function must work for all color depths, it can be somewhat slow if used in speed critical sections. Consider finding the color in another way, if possible.

Syntax

static inline uint8_t getRedColor(colortype color);

Arguments

color

The color value.

Return value

The red part of the color.

Examples

touchgfx::Color::getRedColor() is referenced by 3 libraries and example projects.

References

LocationText
Color.hpp:67
static inline uint8_t getRedColor(colortype color)

Call Tree

Functions called by touchgfx::Color::getRedColor()
touchgfx::Color::getRedColor()
touchgfx::colortype::operator unsigned short() const
touchgfx::colortype::~colortype()
all items filtered out
Data read by touchgfx::Color::getRedColor()
touchgfx::Color::getRedColor()::bitDepth
all items filtered out
touchgfx::Color::getRedColor()
Type of touchgfx::Color::getRedColor()
touchgfx::Color::getRedColor()
uint8_t
all items filtered out