Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

FTBBox Class Reference

FTBBox is a convenience class for handling bounding boxes. More...

#include <FTBBox.h>

List of all members.

Public Member Functions

 FTBBox ()
 Default constructor.

 FTBBox (float lx, float ly, float lz, float ux, float uy, float uz)
 Constructor.

 FTBBox (FT_Glyph glyph)
 Constructor.

 ~FTBBox ()
 Destructor.

FTBBoxMove (FTPoint distance)
 Move the Bounding Box by a vector.

FTBBoxoperator+= (const FTBBox &bbox)

Public Attributes

float lowerX
 The bounds of the box.

float lowerY
 The bounds of the box.

float lowerZ
 The bounds of the box.

float upperX
 The bounds of the box.

float upperY
 The bounds of the box.

float upperZ
 The bounds of the box.


Detailed Description

FTBBox is a convenience class for handling bounding boxes.

Definition at line 15 of file FTBBox.h.


Constructor & Destructor Documentation

FTBBox::FTBBox  )  [inline]
 

Default constructor.

Bounding box is set to zero.

Definition at line 21 of file FTBBox.h.

FTBBox::FTBBox float  lx,
float  ly,
float  lz,
float  ux,
float  uy,
float  uz
[inline]
 

Constructor.

Definition at line 33 of file FTBBox.h.

FTBBox::FTBBox FT_Glyph  glyph  )  [inline]
 

Constructor.

Extracts a bounding box from a freetype glyph. Uses the control box for the glyph. FT_Glyph_Get_CBox()

Parameters:
glyph A freetype glyph

Definition at line 48 of file FTBBox.h.

FTBBox::~FTBBox  )  [inline]
 

Destructor.

Definition at line 64 of file FTBBox.h.


Member Function Documentation

FTBBox& FTBBox::Move FTPoint  distance  )  [inline]
 

Move the Bounding Box by a vector.

Parameters:
distance The distance to move the bbox in 3D space.

Definition at line 73 of file FTBBox.h.

References FTPoint::x, FTPoint::y, and FTPoint::z.

Referenced by FTFont::BBox().

FTBBox& FTBBox::operator+= const FTBBox bbox  )  [inline]
 

Definition at line 84 of file FTBBox.h.

References lowerX, lowerY, lowerZ, upperX, upperY, and upperZ.


Member Data Documentation

float FTBBox::lowerX
 

The bounds of the box.

Definition at line 100 of file FTBBox.h.

Referenced by FTFont::BBox(), and operator+=().

float FTBBox::lowerY
 

The bounds of the box.

Definition at line 100 of file FTBBox.h.

Referenced by FTFont::BBox(), and operator+=().

float FTBBox::lowerZ
 

The bounds of the box.

Definition at line 100 of file FTBBox.h.

Referenced by FTFont::BBox(), and operator+=().

float FTBBox::upperX
 

The bounds of the box.

Definition at line 100 of file FTBBox.h.

Referenced by FTFont::BBox(), and operator+=().

float FTBBox::upperY
 

The bounds of the box.

Definition at line 100 of file FTBBox.h.

Referenced by FTFont::BBox(), and operator+=().

float FTBBox::upperZ
 

The bounds of the box.

Definition at line 100 of file FTBBox.h.

Referenced by FTFont::BBox(), FTExtrdGlyph::FTExtrdGlyph(), and operator+=().


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 15:16:39 2003 for FTGL by doxygen 1.3.3