FabGL
ESP32 Display Controller and Graphics Library

◆ moveScreen()

void moveScreen ( int  offsetX,
int  offsetY 
)
inherited

Moves screen by specified horizontal and vertical offset.

Screen moving is performed moving horizontal and vertical Front and Back porchs.

Parameters
offsetXHorizontal offset in pixels. < 0 goes left, > 0 goes right.
offsetYVertical offset in pixels. < 0 goes up, > 0 goes down.

Example:

// Move screen 4 pixels right, 1 pixel left
VGAController.moveScreen(4, -1);

Definition at line 700 of file vgabasecontroller.cpp.