#include <FTBBox.h>
Public Member Functions | |
| FTBBox () | |
| FTBBox (float lx, float ly, float lz, float ux, float uy, float uz) | |
| FTBBox (FT_GlyphSlot glyph) | |
| ~FTBBox () | |
| FTBBox & | Move (FTPoint distance) |
| FTBBox & | operator+= (const FTBBox &bbox) |
| void | SetDepth (float depth) |
| FTBBox () | |
| FTBBox (float lx, float ly, float lz, float ux, float uy, float uz) | |
| FTBBox (FT_GlyphSlot glyph) | |
| ~FTBBox () | |
| FTBBox & | Move (FTPoint distance) |
| FTBBox & | operator+= (const FTBBox &bbox) |
| void | SetDepth (float depth) |
Public Attributes | |
| float | lowerX |
| float | lowerY |
| float | lowerZ |
| float | upperX |
| float | upperY |
| float | upperZ |
Definition at line 16 of file FTBBox.h.
| FTBBox::FTBBox | ( | ) | [inline] |
| FTBBox::FTBBox | ( | float | lx, | |
| float | ly, | |||
| float | lz, | |||
| float | ux, | |||
| float | uy, | |||
| float | uz | |||
| ) | [inline] |
| FTBBox::FTBBox | ( | FT_GlyphSlot | glyph | ) | [inline] |
Constructor. Extracts a bounding box from a freetype glyph. Uses the control box for the glyph. FT_Glyph_Get_CBox()
| glyph | A freetype glyph |
Definition at line 49 of file FTBBox.h.
References FT_Outline_Get_CBox(), FT_GlyphSlotRec_::outline, FT_BBox_::xMax, FT_BBox_::xMin, FT_BBox_::yMax, and FT_BBox_::yMin.
| FTBBox::FTBBox | ( | ) | [inline] |
| FTBBox::FTBBox | ( | float | lx, | |
| float | ly, | |||
| float | lz, | |||
| float | ux, | |||
| float | uy, | |||
| float | uz | |||
| ) | [inline] |
| FTBBox::FTBBox | ( | FT_GlyphSlot | glyph | ) | [inline] |
Constructor. Extracts a bounding box from a freetype glyph. Uses the control box for the glyph. FT_Glyph_Get_CBox()
| glyph | A freetype glyph |
Definition at line 49 of file FTBBox.h.
References FT_Outline_Get_CBox(), FT_GlyphSlotRec_::outline, FT_BBox_::xMax, FT_BBox_::xMin, FT_BBox_::yMax, and FT_BBox_::yMin.
Move the Bounding Box by a vector.
| distance | The distance to move the bbox in 3D space. |
Definition at line 81 of file FTBBox.h.
References RootCsg::distance().
Referenced by FTFont::BBox().
| void FTBBox::SetDepth | ( | float | depth | ) | [inline] |
Move the Bounding Box by a vector.
| distance | The distance to move the bbox in 3D space. |
Definition at line 81 of file FTBBox.h.
References RootCsg::distance().
| float FTBBox::lowerX |
The bounds of the box
Definition at line 114 of file FTBBox.h.
Referenced by FTFont::BBox(), FTGLTextureFont::MakeGlyph(), and operator+=().
| float FTBBox::lowerY |
| float FTBBox::lowerZ |
| float FTBBox::upperX |
Definition at line 114 of file FTBBox.h.
Referenced by FTFont::BBox(), FTGLTextureFont::MakeGlyph(), and operator+=().
| float FTBBox::upperY |
| float FTBBox::upperZ |
1.5.1