FabGL
ESP32 Display Controller and Graphics Library

◆ copyRect()

void copyRect ( int  sourceX,
int  sourceY,
int  destX,
int  destY,
int  width,
int  height 
)

Copies 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.

Parameters
sourceXLeft source rectangle horizontal position.
sourceYTop source rectangle vertical position.
destXLeft destination rectangle horizontal position.
destYTop destination rectangle vertical position.
widthRectangle horizontal size.
heightRectangle vertical size.

Definition at line 490 of file canvas.cpp.