|
FabGL
ESP32 VGA Controller and Graphics Library
|
| void fabgl::CanvasClass::copyRect | ( | int | sourceX, |
| int | sourceY, | ||
| int | destX, | ||
| int | destY, | ||
| int | width, | ||
| int | height | ||
| ) |
Copy a screen rectangle to the specified position.
Source and destination rectangles can overlap. The copy is performed pixel by pixel and it is a slow operation.
| sourceX | Left source rectangle horizontal position. |
| sourceY | Top source rectangle vertical position. |
| destX | Left destination rectangle horizontal position. |
| destY | Top destination rectangle vertical position. |
| width | Rectangle horizontal size. |
| height | Rectangle vertical size. |