libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo es el conjunto de objetos y funciones, que permiten ejecutar las operaciones básicas de la plataforma Moldeo, y que compone su núcleo.
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Amigas 'defines' Grupos Páginas
Referencia de la Estructura OGLFT::BBox

#include <moOGLFT.h>

Métodos públicos

 BBox ()
 Default constructor is all zeros. Más...
 
 BBox (FT_BBox ft_bbox)
 
BBoxoperator*= (double k)
 
BBoxoperator+= (const BBox &b)
 

Atributos públicos

float x_min_
 The left-most position at which "ink" appears. Más...
 
float y_min_
 the bottom-most position at which "ink" appears. Más...
 
float x_max_
 The right-most position at which "ink" appears. Más...
 
float y_max_
 The top-most position at which "ink" appears. Más...
 
Advance advance_
 The (total) advancement. Más...
 

Descripción detallada

Describe the metrics of a glyph or string relative to the origin of the first character

Definición en la línea 167 del archivo moOGLFT.h.

Documentación del constructor y destructor

OGLFT::BBox::BBox ( )
inline

Default constructor is all zeros.

Definición en la línea 176 del archivo moOGLFT.h.

OGLFT::BBox::BBox ( FT_BBox  ft_bbox)
inline

(Partially) initialize a BBox from a FreeType bounding box member. (The advancement is initialized to zero by its default constructor).

Parámetros
ft_bboxa FreeType bounding box as retrieved from FT_Glyph_Get_CBox.

Definición en la línea 186 del archivo moOGLFT.h.

Documentación de las funciones miembro

BBox& OGLFT::BBox::operator*= ( double  k)
inline

Scale the bounding box by a constant.

Parámetros
ka constant to scale the bounding box by.
Devuelve
a reference to oneself.

Definición en la línea 197 del archivo moOGLFT.h.

BBox& OGLFT::BBox::operator+= ( const BBox b)
inline

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.

Parámetros
bthe bounding box to merge.
Devuelve
a reference to oneself.

Definición en la línea 216 del archivo moOGLFT.h.

Documentación de los datos miembro

Advance OGLFT::BBox::advance_

The (total) advancement.

Definición en la línea 173 del archivo moOGLFT.h.

float OGLFT::BBox::x_max_

The right-most position at which "ink" appears.

Definición en la línea 171 del archivo moOGLFT.h.

float OGLFT::BBox::x_min_

The left-most position at which "ink" appears.

Definición en la línea 169 del archivo moOGLFT.h.

float OGLFT::BBox::y_max_

The top-most position at which "ink" appears.

Definición en la línea 172 del archivo moOGLFT.h.

float OGLFT::BBox::y_min_

the bottom-most position at which "ink" appears.

Definición en la línea 170 del archivo moOGLFT.h.


La documentación para esta estructura fue generada a partir del siguiente fichero: