touchgfx::LCD::rotateRect() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::LCD::rotateRect() method

@fn static void LCD::rotateRect(Rect& rect, const Rect& canvas, const TextRotation rotation); Rotate a rectangle inside another rectangle. Rotate a rectangle inside another rectangle.

Syntax

static void rotateRect(Rect& rect,     const Rect& canvas,     const TextRotation rotation);

Arguments

rect

canvas

The rectangle containing the rect to rotate.

rotation

Rotation to perform on rect.

References

LocationText
LCD.hpp:447
static void rotateRect(Rect& rect, const Rect& canvas, const TextRotation rotation);