GG
Classes | Namespaces | Functions

PtRect.h File Reference

Contains the utility classes Pt and Rect. More...

#include <GG/Base.h>
#include <GG/StrongTypedef.h>
#include <boost/serialization/access.hpp>

Go to the source code of this file.

Classes

struct  GG::Pt
 A GG screen coordinate class. More...
struct  GG::Rect
 A GG rectangle class. More...

Namespaces

namespace  GG

Functions

GG_API bool GG::operator== (const Pt &lhs, const Pt &rhs)
GG_API bool GG::operator!= (const Pt &lhs, const Pt &rhs)
GG_API bool GG::operator< (const Pt &lhs, const Pt &rhs)
GG_API bool GG::operator> (const Pt &lhs, const Pt &rhs)
GG_API bool GG::operator<= (const Pt &lhs, const Pt &rhs)
GG_API bool GG::operator>= (const Pt &lhs, const Pt &rhs)
GG_API Pt GG::operator+ (const Pt &lhs, const Pt &rhs)
GG_API Pt GG::operator- (const Pt &lhs, const Pt &rhs)
GG_API std::ostream & GG::operator<< (std::ostream &os, const Pt &pt)
GG_API bool GG::operator== (const Rect &lhs, const Rect &rhs)
GG_API bool GG::operator!= (const Rect &lhs, const Rect &rhs)
GG_API Rect GG::operator+ (const Rect &rect, const Pt &pt)
GG_API Rect GG::operator- (const Rect &rect, const Pt &pt)
GG_API Rect GG::operator+ (const Pt &pt, const Rect &rect)
GG_API Rect GG::operator- (const Pt &pt, const Rect &rect)
GG_API std::ostream & GG::operator<< (std::ostream &os, const Rect &rect)

Detailed Description

Contains the utility classes Pt and Rect.

Definition in file PtRect.h.