FabGL
ESP32 Display Controller and Graphics Library

◆ setOrigin() [2/2]

void setOrigin ( Point const &  origin)

Sets the axes origin.

Setting axes origin will translate every coordinate by the specified value (except for sprites).

Parameters
originOrigin coordinates.

Definition at line 53 of file canvas.cpp.