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 | Typedefs | Enumerations | Functions
cf2hints.h File Reference

Go to the source code of this file.

Classes

struct  CF2_HintMaskRec_
 
struct  CF2_StemHintRec_
 
struct  CF2_HintMapRec_
 
struct  CF2_GlyphPathRec_
 

Typedefs

typedef struct CF2_HintMaskRec_ CF2_HintMaskRec
 
typedef struct CF2_HintMaskRec_CF2_HintMask
 
typedef struct CF2_StemHintRec_ CF2_StemHintRec
 
typedef struct CF2_StemHintRec_CF2_StemHint
 
typedef struct CF2_HintMapRec_ CF2_HintMapRec
 
typedef struct CF2_HintMapRec_CF2_HintMap
 
typedef struct CF2_GlyphPathRec_ CF2_GlyphPathRec
 
typedef struct CF2_GlyphPathRec_CF2_GlyphPath
 

Enumerations

enum  { CF2_MAX_HINTS = 96 }
 
enum  { CF2_MAX_HINT_EDGES = CF2_MAX_HINTS * 2 }
 

Functions

 cf2_hint_isValid (const CF2_Hint hint)
 
 cf2_hint_isTop (const CF2_Hint hint)
 
 cf2_hint_isBottom (const CF2_Hint hint)
 
 cf2_hint_lock (CF2_Hint hint)
 
 cf2_hintmap_init (CF2_HintMap hintmap, CF2_Font font, CF2_HintMap initialMap, CF2_ArrStack hintMoves, CF2_Fixed scale)
 
 cf2_hintmap_build (CF2_HintMap hintmap, CF2_ArrStack hStemHintArray, CF2_ArrStack vStemHintArray, CF2_HintMask hintMask, CF2_Fixed hintOrigin, FT_Bool initialMap)
 
 cf2_glyphpath_init (CF2_GlyphPath glyphpath, CF2_Font font, CF2_OutlineCallbacks callbacks, CF2_Fixed scaleY, CF2_ArrStack hStemHintArray, CF2_ArrStack vStemHintArray, CF2_HintMask hintMask, CF2_Fixed hintOrigin, const CF2_Blues blues, const FT_Vector *fractionalTranslation)
 
 cf2_glyphpath_finalize (CF2_GlyphPath glyphpath)
 
 cf2_glyphpath_moveTo (CF2_GlyphPath glyphpath, CF2_Fixed x, CF2_Fixed y)
 
 cf2_glyphpath_lineTo (CF2_GlyphPath glyphpath, CF2_Fixed x, CF2_Fixed y)
 
 cf2_glyphpath_curveTo (CF2_GlyphPath glyphpath, CF2_Fixed x1, CF2_Fixed y1, CF2_Fixed x2, CF2_Fixed y2, CF2_Fixed x3, CF2_Fixed y3)
 
 cf2_glyphpath_closeOpenPath (CF2_GlyphPath glyphpath)
 

Typedef Documentation

◆ CF2_GlyphPath

typedef struct CF2_GlyphPathRec_ * CF2_GlyphPath

◆ CF2_GlyphPathRec

◆ CF2_HintMap

typedef struct CF2_HintMapRec_ * CF2_HintMap

◆ CF2_HintMapRec

◆ CF2_HintMask

typedef struct CF2_HintMaskRec_ * CF2_HintMask

◆ CF2_HintMaskRec

◆ CF2_StemHint

typedef struct CF2_StemHintRec_ * CF2_StemHint

◆ CF2_StemHintRec

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CF2_MAX_HINTS 

Definition at line 46 of file cf2hints.h.

◆ anonymous enum

anonymous enum
Enumerator
CF2_MAX_HINT_EDGES 

Definition at line 121 of file cf2hints.h.

Function Documentation

◆ cf2_glyphpath_closeOpenPath()

cf2_glyphpath_closeOpenPath ( CF2_GlyphPath  glyphpath)

Definition at line 1701 of file cf2hints.c.

References FT_ASSERT, and CF2_GlyphPathRec_::pathIsOpen.

Referenced by cf2_glyphpath_moveTo().

◆ cf2_glyphpath_curveTo()

cf2_glyphpath_curveTo ( CF2_GlyphPath  glyphpath,
CF2_Fixed  x1,
CF2_Fixed  y1,
CF2_Fixed  x2,
CF2_Fixed  y2,
CF2_Fixed  x3,
CF2_Fixed  y3 
)

Definition at line 1613 of file cf2hints.c.

References CF2_Fixed.

◆ cf2_glyphpath_finalize()

cf2_glyphpath_finalize ( CF2_GlyphPath  glyphpath)

Definition at line 1042 of file cf2hints.c.

References cf2_arrstack_finalize().

◆ cf2_glyphpath_init()

cf2_glyphpath_init ( CF2_GlyphPath  glyphpath,
CF2_Font  font,
CF2_OutlineCallbacks  callbacks,
CF2_Fixed  scaleY,
CF2_ArrStack  hStemHintArray,
CF2_ArrStack  vStemHintArray,
CF2_HintMask  hintMask,
CF2_Fixed  hintOrigin,
const CF2_Blues  blues,
const FT_Vector fractionalTranslation 
)

◆ cf2_glyphpath_lineTo()

cf2_glyphpath_lineTo ( CF2_GlyphPath  glyphpath,
CF2_Fixed  x,
CF2_Fixed  y 
)

Definition at line 1544 of file cf2hints.c.

References CF2_Fixed, CF2_GlyphPathRec_::currentCS, FT_Vector_::x, and FT_Vector_::y.

◆ cf2_glyphpath_moveTo()

cf2_glyphpath_moveTo ( CF2_GlyphPath  glyphpath,
CF2_Fixed  x,
CF2_Fixed  y 
)

◆ cf2_hint_isBottom()

cf2_hint_isBottom ( const CF2_Hint  hint)

Definition at line 248 of file cf2hints.c.

References CF2_GhostBottom, CF2_PairBottom, CF2_HintRec_::flags, and FT_Bool.

Referenced by cf2_blues_capture().

◆ cf2_hint_isTop()

cf2_hint_isTop ( const CF2_Hint  hint)

Definition at line 240 of file cf2hints.c.

References CF2_GhostTop, CF2_PairTop, CF2_HintRec_::flags, FT_Bool, and FT_LOCAL_DEF.

Referenced by cf2_blues_capture().

◆ cf2_hint_isValid()

cf2_hint_isValid ( const CF2_Hint  hint)

Definition at line 218 of file cf2hints.c.

References CF2_HintRec_::flags, and FT_Bool.

Referenced by cf2_blues_capture().

◆ cf2_hint_lock()

cf2_hint_lock ( CF2_Hint  hint)

Definition at line 270 of file cf2hints.c.

References CF2_Locked, CF2_HintRec_::flags, and FT_LOCAL_DEF.

Referenced by cf2_blues_capture().

◆ cf2_hintmap_build()

cf2_hintmap_build ( CF2_HintMap  hintmap,
CF2_ArrStack  hStemHintArray,
CF2_ArrStack  vStemHintArray,
CF2_HintMask  hintMask,
CF2_Fixed  hintOrigin,
FT_Bool  initialMap 
)

Definition at line 719 of file cf2hints.c.

References CF2_HintMapRec_::font, and i.

◆ cf2_hintmap_init()

cf2_hintmap_init ( CF2_HintMap  hintmap,
CF2_Font  font,
CF2_HintMap  initialMap,
CF2_ArrStack  hintMoves,
CF2_Fixed  scale 
)

Definition at line 277 of file cf2hints.c.

References FT_Bool, FT_ZERO, and CF2_FontRec_::hinted.

Referenced by cf2_glyphpath_init().