FabGL
ESP32 Display Controller and Graphics Library

◆ transformRect()

Rect transformRect ( Rect const &  rect,
uiWindow baseWindow 
)

Transforms rectangle origins from current window to another one.

Parameters
rectRectangle to transform
baseWindowWindow where the output rectangle will be relative to
Returns
The translated rectangle

Definition at line 1542 of file fabui.cpp.