smjg.libs.sdwf.dc.PaintDC Class Reference

Used to repaint a window. More...

Inheritance diagram for smjg.libs.sdwf.dc.PaintDC:

smjg.libs.sdwf.dc.DC

List of all members.

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 ()


Detailed Description

Used to repaint a window.

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.


Constructor & Destructor Documentation

smjg.libs.sdwf.dc.PaintDC.this ( WindowBase  w  ) 

smjg.libs.sdwf.dc.PaintDC.~this (  ) 


Member Function Documentation

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.

Since:
0.60
Status:
done


The documentation for this class was generated from the following file:
Generated on Sun Jan 11 21:54:12 2009 for Stewart's D Windows Framework by  doxygen 1.5.4