Public Member Functions | |
this (WindowBase w) | |
PAINTSTRUCT | paintStruct () |
A Windows API structure containing information that can be used to repaint the window. | |
Rect | areaToPaint () |
The minimal bounding rectangle of the area of the window that requires painting, in logical coordinates. | |
~this () |
The Window class creates a PaintDC when the window needs to be redrawn, passing it to Window.paint. A programmer using SDWF will not need to instantiate PaintDC for general purposes.
smjg.libs.sdwf.dc.PaintDC.this | ( | WindowBase | w | ) |
smjg.libs.sdwf.dc.PaintDC.~this | ( | ) |
PAINTSTRUCT smjg.libs.sdwf.dc.PaintDC.paintStruct | ( | ) |
A Windows API structure containing information that can be used to repaint the window.
Rect smjg.libs.sdwf.dc.PaintDC.areaToPaint | ( | ) |
The minimal bounding rectangle of the area of the window that requires painting, in logical coordinates.
This can be used to optimise the repainting process by avoiding unnecessary calculations.