1 #ifndef SCREEN_RECTANGLE_CLASS
2 #define SCREEN_RECTANGLE_CLASS
24 struct tagPOINT;
struct tagRECT;
87 operator tagRECT()
const;
double_angle provides a non-templated class for forward declarations.
Represents a geometric point.
double_angle theta() const
Represents a geometric rectangle.
point< int > vertex_1() const
point< int > vertex_2() const
a simple class used to describe points on a graphics screen.
screen_point(const point< int > &original)
screen_point(int r, double_angle theta)
screen_point(int x=0, int y=0)
DEFINE_CLASS_NAME("screen_point")
Represents a rectangle as interpreted on display screens.
screen_point bottom_right() const
screen_point bottom_left() const
screen_point top_left() const
screen_point top_right() const
screen_rectangle order() const
Re-orders the vertices to match expectations.
screen_rectangle(const screen_point &vertex_1, const screen_point &vertex_2)
Contains all of our objects for geometry and avoids name clashes.
const screen_point & screen_origin()
the origin of the screen coordinate system (which is top-left here).
Aids in achievement of platform independence.