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 | Typedefs | Enumerations | Functions
aflatin.h File Reference
#include "afhints.h"

Go to the source code of this file.

Classes

struct  AF_LatinBlueRec_
 
struct  AF_LatinAxisRec_
 
struct  AF_LatinMetricsRec_
 

Macros

#define AF_LATIN_CONSTANT(metrics, c)   ( ( (c) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 )
 
#define AF_LATIN_IS_TOP_BLUE(b)
 
#define AF_LATIN_MAX_WIDTHS   16
 
#define AF_LATIN_MAX_BLUES   AF_LATIN_BLUE_MAX
 
#define AF_LATIN_HINTS_DO_HORZ_SNAP(h)   AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_HORZ_SNAP )
 
#define AF_LATIN_HINTS_DO_VERT_SNAP(h)   AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_VERT_SNAP )
 
#define AF_LATIN_HINTS_DO_STEM_ADJUST(h)   AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_STEM_ADJUST )
 
#define AF_LATIN_HINTS_DO_MONO(h)   AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_MONO )
 

Typedefs

typedef struct AF_LatinBlueRec_ AF_LatinBlueRec
 
typedef struct AF_LatinBlueRec_AF_LatinBlue
 
typedef struct AF_LatinAxisRec_ AF_LatinAxisRec
 
typedef struct AF_LatinAxisRec_AF_LatinAxis
 
typedef struct AF_LatinMetricsRec_ AF_LatinMetricsRec
 
typedef struct AF_LatinMetricsRec_AF_LatinMetrics
 

Enumerations

enum  {
  AF_LATIN_BLUE_CAPITAL_TOP, AF_LATIN_BLUE_CAPITAL_BOTTOM, AF_LATIN_BLUE_SMALL_F_TOP, AF_LATIN_BLUE_SMALL_TOP,
  AF_LATIN_BLUE_SMALL_BOTTOM, AF_LATIN_BLUE_SMALL_MINOR, AF_LATIN_BLUE_MAX
}
 
enum  { AF_LATIN_BLUE_ACTIVE = 1 << 0, AF_LATIN_BLUE_TOP = 1 << 1, AF_LATIN_BLUE_ADJUSTMENT = 1 << 2, AF_LATIN_BLUE_FLAG_MAX }
 
enum  { AF_LATIN_HINTS_HORZ_SNAP = 1 << 0, AF_LATIN_HINTS_VERT_SNAP = 1 << 1, AF_LATIN_HINTS_STEM_ADJUST = 1 << 2, AF_LATIN_HINTS_MONO = 1 << 3 }
 

Functions

 af_latin_metrics_init (AF_LatinMetrics metrics, FT_Face face)
 
 af_latin_metrics_scale (AF_LatinMetrics metrics, AF_Scaler scaler)
 
 af_latin_metrics_init_widths (AF_LatinMetrics metrics, FT_Face face)
 
 af_latin_metrics_check_digits (AF_LatinMetrics metrics, FT_Face face)
 
 af_latin_hints_compute_segments (AF_GlyphHints hints, AF_Dimension dim)
 
 af_latin_hints_link_segments (AF_GlyphHints hints, AF_Dimension dim)
 
 af_latin_hints_compute_edges (AF_GlyphHints hints, AF_Dimension dim)
 
 af_latin_hints_detect_features (AF_GlyphHints hints, AF_Dimension dim)
 

Macro Definition Documentation

◆ AF_LATIN_CONSTANT

#define AF_LATIN_CONSTANT (   metrics,
  c 
)    ( ( (c) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 )

◆ AF_LATIN_HINTS_DO_HORZ_SNAP

#define AF_LATIN_HINTS_DO_HORZ_SNAP (   h)    AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_HORZ_SNAP )

Definition at line 162 of file aflatin.h.

◆ AF_LATIN_HINTS_DO_MONO

#define AF_LATIN_HINTS_DO_MONO (   h)    AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_MONO )

Definition at line 171 of file aflatin.h.

◆ AF_LATIN_HINTS_DO_STEM_ADJUST

#define AF_LATIN_HINTS_DO_STEM_ADJUST (   h)    AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_STEM_ADJUST )

Definition at line 168 of file aflatin.h.

◆ AF_LATIN_HINTS_DO_VERT_SNAP

#define AF_LATIN_HINTS_DO_VERT_SNAP (   h)    AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_VERT_SNAP )

Definition at line 165 of file aflatin.h.

◆ AF_LATIN_IS_TOP_BLUE

#define AF_LATIN_IS_TOP_BLUE (   b)
Value:

Definition at line 69 of file aflatin.h.

◆ AF_LATIN_MAX_BLUES

#define AF_LATIN_MAX_BLUES   AF_LATIN_BLUE_MAX

Definition at line 74 of file aflatin.h.

◆ AF_LATIN_MAX_WIDTHS

#define AF_LATIN_MAX_WIDTHS   16

Definition at line 73 of file aflatin.h.

Referenced by af_latin2_metrics_init_widths(), and af_latin_metrics_init_widths().

Typedef Documentation

◆ AF_LatinAxis

typedef struct AF_LatinAxisRec_ * AF_LatinAxis

◆ AF_LatinAxisRec

◆ AF_LatinBlue

typedef struct AF_LatinBlueRec_ * AF_LatinBlue

◆ AF_LatinBlueRec

◆ AF_LatinMetrics

◆ AF_LatinMetricsRec

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AF_LATIN_BLUE_CAPITAL_TOP 
AF_LATIN_BLUE_CAPITAL_BOTTOM 
AF_LATIN_BLUE_SMALL_F_TOP 
AF_LATIN_BLUE_SMALL_TOP 
AF_LATIN_BLUE_SMALL_BOTTOM 
AF_LATIN_BLUE_SMALL_MINOR 
AF_LATIN_BLUE_MAX 

Definition at line 56 of file aflatin.h.

◆ anonymous enum

anonymous enum
Enumerator
AF_LATIN_BLUE_ACTIVE 
AF_LATIN_BLUE_TOP 
AF_LATIN_BLUE_ADJUSTMENT 
AF_LATIN_BLUE_FLAG_MAX 

Definition at line 77 of file aflatin.h.

◆ anonymous enum

anonymous enum
Enumerator
AF_LATIN_HINTS_HORZ_SNAP 
AF_LATIN_HINTS_VERT_SNAP 
AF_LATIN_HINTS_STEM_ADJUST 
AF_LATIN_HINTS_MONO 

Definition at line 151 of file aflatin.h.

Function Documentation

◆ af_latin_hints_compute_edges()

af_latin_hints_compute_edges ( AF_GlyphHints  hints,
AF_Dimension  dim 
)

◆ af_latin_hints_compute_segments()

af_latin_hints_compute_segments ( AF_GlyphHints  hints,
AF_Dimension  dim 
)

◆ af_latin_hints_detect_features()

af_latin_hints_detect_features ( AF_GlyphHints  hints,
AF_Dimension  dim 
)

◆ af_latin_hints_link_segments()

af_latin_hints_link_segments ( AF_GlyphHints  hints,
AF_Dimension  dim 
)

◆ af_latin_metrics_check_digits()

af_latin_metrics_check_digits ( AF_LatinMetrics  metrics,
FT_Face  face 
)

◆ af_latin_metrics_init()

af_latin_metrics_init ( AF_LatinMetrics  metrics,
FT_Face  face 
)

◆ af_latin_metrics_init_widths()

af_latin_metrics_init_widths ( AF_LatinMetrics  metrics,
FT_Face  face 
)

◆ af_latin_metrics_scale()

af_latin_metrics_scale ( AF_LatinMetrics  metrics,
AF_Scaler  scaler 
)