Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Macros | Functions
cf2font.h File Reference
#include "cf2ft.h"
#include "cf2blues.h"

Go to the source code of this file.

Classes

struct  CF2_FontRec_
 

Macros

#define CF2_OPERAND_STACK_SIZE   48
 
#define CF2_MAX_SUBR   10 /* maximum subroutine nesting */
 

Functions

 cf2_getGlyphWidth (CF2_Font font, CF2_Buffer charstring, const CF2_Matrix *transform, CF2_F16Dot16 *glyphWidth)
 

Macro Definition Documentation

◆ CF2_MAX_SUBR

#define CF2_MAX_SUBR   10 /* maximum subroutine nesting */

Definition at line 51 of file cf2font.h.

Referenced by cf2_interpT2CharString().

◆ CF2_OPERAND_STACK_SIZE

#define CF2_OPERAND_STACK_SIZE   48

Definition at line 50 of file cf2font.h.

Referenced by cf2_stack_getReal(), cf2_stack_pushFixed(), and cf2_stack_pushInt().

Function Documentation

◆ cf2_getGlyphWidth()

cf2_getGlyphWidth ( CF2_Font  font,
CF2_Buffer  charstring,
const CF2_Matrix transform,
CF2_F16Dot16 glyphWidth 
)

Definition at line 321 of file cf2font.c.

References CF2_Fixed, FT_Bool, FT_Err_Ok, FT_Vector_::x, and FT_Vector_::y.