FabGL2 2.0.0
ESP32 Display Controller and Graphics Library for ESP-IDF
Loading...
Searching...
No Matches

◆ setOrigin() [2/2]

void setOrigin ( Point const & origin)

Sets the axes origin.

Once the origin is set, every coordinate is translated by the specified amount (sprites excluded).

Parameters
originOrigin coordinates.

Definition at line 58 of file canvas.cpp.