|
FabGL
ESP32 VGA Controller and Graphics Library
|
| void fabgl::VGAControllerClass::moveScreen | ( | int | offsetX, |
| int | offsetY | ||
| ) |
Move screen by specified horizontal and vertical offset.
Screen moving is performed moving horizontal and vertical Front and Back porchs.
| offsetX | Horizontal offset in pixels. < 0 goes left, > 0 goes right. |
| offsetY | Vertical offset in pixels. < 0 goes up, > 0 goes down. |
Example:
// Move screen 4 pixels right, 1 pixel left VGAController.moveScreen(4, -1);