GG
Public Attributes

GG::Rect Struct Reference

A GG rectangle class. More...

#include <PtRect.h>

List of all members.

Public Attributes

Pt ul
Pt lr

Structors

 Rect ()
 Rect (const Pt &pt1, const Pt &pt2)
 Rect (X x1, Y y1, X x2, Y y2)

Accessors

X Left () const
X Right () const
Y Top () const
Y Bottom () const
Pt UpperLeft () const
Pt LowerRight () const
X Width () const
Y Height () const
bool Contains (const Pt &pt) const

Mutators

void operator+= (const Pt &pt)
void operator-= (const Pt &pt)

Detailed Description

A GG rectangle class.

This is essentially just two points that bound the rectangle.

Definition at line 94 of file PtRect.h.


The documentation for this struct was generated from the following file: