CopySurface.setCurrent

void setCurrent()

Makes this surface the current drawing target.

After calling this method, all subsequent graphics operations (fl_draw functions, widget drawing, etc.) will be recorded to this surface instead of the display.