FabGL
ESP32 Display Controller and Graphics Library
|
|
inherited |
Reduces or expands screen size by the specified horizontal and vertical offset.
Screen shrinking is performed changing horizontal and vertical Front and Back porchs.
shrinkX | Horizontal offset in pixels. > 0 shrinks, < 0 expands. |
shrinkY | Vertical offset in pixels. > 0 shrinks, < 0 expands. |
Example:
// Shrink screen by 8 pixels and move by 8 pixels to the left VGAController.shrinkScreen(8, 0); VGAController.moveScreen(8, 0);
Definition at line 731 of file vgabasecontroller.cpp.