#include <ScreenState.h>
Public Methods | |
| ScreenState () | |
| int | ScreenToDoc_x (int x) |
| int | ScreenToDoc_x (float x) |
| int | ScreenToDoc_y (int y) |
| int | ScreenToDoc_y (float y) |
| VPoint | ScreenToDoc (VPoint pt) |
| float | ScreenToDocRatio_x () |
| float | ScreenToDocRatio_y () |
| int | DocToScreen_x (int x) |
| int | DocToScreen_y (int y) |
| VPoint | DocToScreen (VPoint pt) |
| float | DocToScreenRatio_x () |
| float | DocToScreenRatio_y () |
Public Attributes | |
| CRect | screen |
| screen size. | |
| CRect | doc |
| what's being shown. | |
| CRect | window |
| window offset. | |
Static Public Methods | |
| int | PointMultiplier () |
1.2.5 written by Dimitri van Heesch,
© 1997-2001