touchgfx::LCD24bpp::nextPixel() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::LCD24bpp::nextPixel()

touchgfx::LCD24bpp::nextPixel() method

@fn static int LCD24bpp::nextPixel(bool portrait, TextRotation rotation); Find out how much to advance in the display buffer to get to the next pixel. Find out how much to advance in the display buffer to get to the next pixel.

Syntax

static int nextPixel(bool portrait,     TextRotation rotation);

Arguments

portrait

Is the display running in portrait mode?

rotation

Rotation to perform.

Return value

How much to advance to get to the next pixel.

References

LocationText
LCD24bpp.hpp:209
static int nextPixel(bool portrait, TextRotation rotation);