|
FabGL2 2.0.0
ESP32 Display Controller and Graphics Library for ESP-IDF
|
| void scroll | ( | int | offsetX, |
| int | offsetY ) |
Scrolls pixels horizontally and/or vertically.
Scrolling occurs inside the scrolling region defined by setScrollingRegion().
Vertical scrolling moves line pointers, so it is very fast.
Horizontal scrolling moves pixels one by one, so it is CPU intensive.
| offsetX | Number of pixels to scroll left (offsetX < 0) or right (offsetX > 0). |
| offsetY | Number of pixels to scroll up (offsetY < 0) or down (offsetY > 0). |
Definition at line 129 of file canvas.cpp.