FabGL
ESP32 Display Controller and Graphics Library

◆ setOrigin() [2/2]

void fabgl::Canvas::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.