procedure DoPaint(ABuffer: TBitmap32; AInvalidRects: TRectList; ACanvas: TCanvas; APaintBox: TCustomPaintBox32);


Draws the buffer specified by ABuffer (the back-end's surface) onto the canvas ACanvas owned by the paintbox APaintBox.

AInvalidRects specifies a list of rects that require repainting. If the list is empty this method draws the buffer ABuffer into the ViewportRect of the paintbox APaintBox.


See Also

TBitmap32, TRectList, TCustomPaintBox32, TCustomPaintBox32.GetViewportRect