#include <OGLFT.h>
| Public Methods | |||
| BBox () | |||
| Default constructor is all zeros. | |||
| BBox (FT_BBox ft_bbox) | |||
| BBox& | operator *= (double k) | ||
| Scale the bounding box by a constant. 
 
 | |||
| BBox& | operator+= (const BBox &b) | ||
| Public Attributes | |||
| float | x_min_ | ||
| The left-most position at which "ink" appears. | |||
| float | y_min_ | ||
| the bottom-most position at which "ink" appears. | |||
| float | x_max_ | ||
| The right-most position at which "ink" appears. | |||
| float | y_max_ | ||
| The top-most position at which "ink" appears. | |||
| Advance | advance_ | ||
| The (total) advancement. | |||
| 
 | 
| (Partially) initialize a BBox from a FreeType bounding box member. (The advancement is initialized to zero by its default constructor). 
 | 
| 
 | 
| Merge a bounding box into the current one (not really addition). Each time a BBox is "added", the current BBox is expanded to include the metrics of the new BBox. May only work for horizontal fonts, though. 
 
 | 
 1.2.8.1 written by Dimitri van Heesch,
 © 1997-2001
1.2.8.1 written by Dimitri van Heesch,
 © 1997-2001