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.
Arguments
rect
canvas
The rectangle containing the rect to rotate.
rotation
Rotation to perform on rect.