#include <FTBBox.h>
Definition at line 42 of file FTBBox.h.
Public Member Functions | |
FTBBox () | |
Default constructor. | |
FTBBox (float lx, float ly, float lz, float ux, float uy, float uz) | |
Constructor. | |
FTBBox (FTPoint l, FTPoint u) | |
Constructor. | |
FTBBox (FT_GlyphSlot glyph) | |
Constructor. | |
~FTBBox () | |
Destructor. | |
void | Invalidate () |
Mark the bounds invalid by setting all lower dimensions greater than the upper dimensions. | |
bool | IsValid () |
Determines if this bounding box is valid. | |
FTBBox & | operator+= (const FTPoint vector) |
Move the Bounding Box by a vector. | |
FTBBox & | operator|= (const FTBBox &bbox) |
Combine two bounding boxes. | |
void | SetDepth (float depth) |
FTPoint const | Upper () const |
FTPoint const | Lower () const |
FTBBox::FTBBox | ( | ) | [inline] |
FTBBox::FTBBox | ( | float | lx, | |
float | ly, | |||
float | lz, | |||
float | ux, | |||
float | uy, | |||
float | uz | |||
) | [inline] |
FTBBox::FTBBox | ( | FT_GlyphSlot | glyph | ) | [inline] |
void FTBBox::Invalidate | ( | ) | [inline] |
bool FTBBox::IsValid | ( | ) | [inline] |
Combine two bounding boxes.
The result is the smallest bounding box containing the two original boxes.
bbox | The bounding box to merge with the second one. |
Definition at line 138 of file FTBBox.h.
References lower, upper, FTPoint::X(), FTPoint::Y(), and FTPoint::Z().
FTPoint const FTBBox::Upper | ( | ) | const [inline] |
FTPoint const FTBBox::Lower | ( | ) | const [inline] |