HOG2
Classes | Enumerations | Functions
Graphics Namespace Reference

Classes

class  Display
 
struct  point
 
struct  rect
 

Enumerations

enum  textAlign { textAlignCenter, textAlignLeft, textAlignRight }
 
enum  textBaseline { textBaselineTop, textBaselineMiddle, textBaselineBottom }
 

Functions

bool PointInRect (const point &p, const rect &r)
 
std::ostream & operator<< (std::ostream &o, const rect &r)
 
std::ostream & operator<< (std::ostream &o, const point &r)
 

Enumeration Type Documentation

◆ textAlign

Enumerator
textAlignCenter 
textAlignLeft 
textAlignRight 

Definition at line 19 of file Graphics.h.

◆ textBaseline

Enumerator
textBaselineTop 
textBaselineMiddle 
textBaselineBottom 

Definition at line 25 of file Graphics.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream& Graphics::operator<< ( std::ostream &  o,
const point r 
)
inline

Definition at line 133 of file Graphics.h.

References Graphics::point::x, Graphics::point::y, and Graphics::point::z.

◆ operator<<() [2/2]

std::ostream& Graphics::operator<< ( std::ostream &  o,
const rect r 
)
inline

◆ PointInRect()

bool Graphics::PointInRect ( const point p,
const rect r 
)