Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ScreenState Class Reference

Handles conversion of points. More...

#include <ScreenState.h>

List of all members.

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


Detailed Description

Handles conversion of points.


The documentation for this class was generated from the following file:
Generated at Wed Aug 29 19:58:56 2001 for Pocket Animator by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001