FTBBox is a convenience class for handling bounding boxes.  
 More...
#include <FTBBox.h>
FTBBox is a convenience class for handling bounding boxes. 
Definition at line 42 of file FTBBox.h.
◆ FTBBox() [1/4]
Default constructor. 
Bounding box is set to zero. 
Definition at line 48 of file FTBBox.h.
 
 
◆ FTBBox() [2/4]
  
  | 
        
          | FTBBox::FTBBox | ( | float | lx, |  
          |  |  | float | ly, |  
          |  |  | float | lz, |  
          |  |  | float | ux, |  
          |  |  | float | uy, |  
          |  |  | float | uz |  
          |  | ) |  |  |  | inline | 
 
Constructor. 
Definition at line 56 of file FTBBox.h.
 
 
◆ FTBBox() [3/4]
Constructor. 
Definition at line 64 of file FTBBox.h.
 
 
◆ FTBBox() [4/4]
  
  | 
        
          | 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()
- Parameters
- 
  
  
Definition at line 75 of file FTBBox.h.
 
 
◆ ~FTBBox()
Destructor. 
Definition at line 93 of file FTBBox.h.
 
 
◆ Invalidate()
  
  | 
        
          | void FTBBox::Invalidate | ( |  | ) |  |  | inline | 
 
Mark the bounds invalid by setting all lower dimensions greater than the upper dimensions. 
Definition at line 100 of file FTBBox.h.
 
 
◆ IsValid()
Determines if this bounding box is valid. 
- Returns
- True if all lower values are <= the corresponding upper values. 
Definition at line 112 of file FTBBox.h.
 
 
◆ Lower()
  
  | 
        
          | FTPoint const FTBBox::Lower | ( |  | ) | const |  | inline | 
 
 
◆ operator+=()
Move the Bounding Box by a vector. 
- Parameters
- 
  
    | vector | The vector to move the bbox in 3D space. |  
 
Definition at line 124 of file FTBBox.h.
 
 
◆ operator|=()
Combine two bounding boxes. 
The result is the smallest bounding box containing the two original boxes.
- Parameters
- 
  
    | bbox | The bounding box to merge with the second one. |  
 
Definition at line 138 of file FTBBox.h.
References FTPoint::X(), FTPoint::Y(), and FTPoint::Z().
 
 
◆ SetDepth()
  
  | 
        
          | void FTBBox::SetDepth | ( | float | depth | ) |  |  | inline | 
 
 
◆ Upper()
  
  | 
        
          | FTPoint const FTBBox::Upper | ( |  | ) | const |  | inline | 
 
 
The documentation for this class was generated from the following file: