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]
Macros | Functions
afhints.c File Reference
#include "afhints.h"
#include "aferrors.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_afhints
 

Functions

 af_axis_hints_new_segment (AF_AxisHints axis, FT_Memory memory, AF_Segment *asegment)
 
 af_axis_hints_new_edge (AF_AxisHints axis, FT_Int fpos, AF_Direction dir, FT_Memory memory, AF_Edge *anedge)
 
void af_glyph_hints_dump_points (AF_GlyphHints hints)
 
void af_glyph_hints_dump_segments (AF_GlyphHints hints)
 
FT_Error af_glyph_hints_get_num_segments (AF_GlyphHints hints, FT_Int dimension, FT_Int *num_segments)
 
FT_Error af_glyph_hints_get_segment_offset (AF_GlyphHints hints, FT_Int dimension, FT_Int idx, FT_Pos *offset)
 
void af_glyph_hints_dump_edges (AF_GlyphHints hints)
 
 af_direction_compute (FT_Pos dx, FT_Pos dy)
 
 af_glyph_hints_init (AF_GlyphHints hints, FT_Memory memory)
 
 af_glyph_hints_done (AF_GlyphHints hints)
 
 af_glyph_hints_rescale (AF_GlyphHints hints, AF_ScriptMetrics metrics)
 
 af_glyph_hints_reload (AF_GlyphHints hints, FT_Outline *outline)
 
 af_glyph_hints_save (AF_GlyphHints hints, FT_Outline *outline)
 
 af_glyph_hints_align_edge_points (AF_GlyphHints hints, AF_Dimension dim)
 
 af_glyph_hints_align_strong_points (AF_GlyphHints hints, AF_Dimension dim)
 
 af_glyph_hints_align_weak_points (AF_GlyphHints hints, AF_Dimension dim)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_afhints

Definition at line 32 of file afhints.c.

Function Documentation

◆ af_axis_hints_new_edge()

af_axis_hints_new_edge ( AF_AxisHints  axis,
FT_Int  fpos,
AF_Direction  dir,
FT_Memory  memory,
AF_Edge anedge 
)

◆ af_axis_hints_new_segment()

af_axis_hints_new_segment ( AF_AxisHints  axis,
FT_Memory  memory,
AF_Segment asegment 
)

◆ af_direction_compute()

af_direction_compute ( FT_Pos  dx,
FT_Pos  dy 
)

Definition at line 481 of file afhints.c.

References AF_DIR_DOWN, AF_DIR_LEFT, AF_DIR_NONE, AF_DIR_RIGHT, AF_DIR_UP, FT_ABS, FT_LOCAL_DEF, and FT_Pos.

Referenced by af_glyph_hints_reload().

◆ af_glyph_hints_align_edge_points()

af_glyph_hints_align_edge_points ( AF_GlyphHints  hints,
AF_Dimension  dim 
)

◆ af_glyph_hints_align_strong_points()

af_glyph_hints_align_strong_points ( AF_GlyphHints  hints,
AF_Dimension  dim 
)

◆ af_glyph_hints_align_weak_points()

af_glyph_hints_align_weak_points ( AF_GlyphHints  hints,
AF_Dimension  dim 
)

◆ af_glyph_hints_done()

af_glyph_hints_done ( AF_GlyphHints  hints)

◆ af_glyph_hints_dump_edges()

void af_glyph_hints_dump_edges ( AF_GlyphHints  hints)

Definition at line 466 of file afhints.c.

References FT_LOCAL_DEF, and FT_UNUSED.

Referenced by af_axis_hints_new_edge().

◆ af_glyph_hints_dump_points()

void af_glyph_hints_dump_points ( AF_GlyphHints  hints)

Definition at line 424 of file afhints.c.

References FT_UNUSED.

Referenced by af_axis_hints_new_edge().

◆ af_glyph_hints_dump_segments()

void af_glyph_hints_dump_segments ( AF_GlyphHints  hints)

Definition at line 431 of file afhints.c.

References FT_UNUSED.

Referenced by af_axis_hints_new_edge().

◆ af_glyph_hints_get_num_segments()

FT_Error af_glyph_hints_get_num_segments ( AF_GlyphHints  hints,
FT_Int  dimension,
FT_Int num_segments 
)

Definition at line 438 of file afhints.c.

References FT_UNUSED.

Referenced by af_axis_hints_new_edge().

◆ af_glyph_hints_get_segment_offset()

FT_Error af_glyph_hints_get_segment_offset ( AF_GlyphHints  hints,
FT_Int  dimension,
FT_Int  idx,
FT_Pos offset 
)

Definition at line 451 of file afhints.c.

References FT_UNUSED.

Referenced by af_axis_hints_new_edge().

◆ af_glyph_hints_init()

af_glyph_hints_init ( AF_GlyphHints  hints,
FT_Memory  memory 
)

Definition at line 530 of file afhints.c.

References FT_LOCAL_DEF, and FT_ZERO.

Referenced by af_latin2_metrics_init_widths(), af_latin_metrics_init_widths(), and af_loader_init().

◆ af_glyph_hints_reload()

af_glyph_hints_reload ( AF_GlyphHints  hints,
FT_Outline outline 
)

◆ af_glyph_hints_rescale()

af_glyph_hints_rescale ( AF_GlyphHints  hints,
AF_ScriptMetrics  metrics 
)

Definition at line 581 of file afhints.c.

References FT_LOCAL_DEF.

Referenced by af_latin2_metrics_init_widths(), and af_latin_metrics_init_widths().

◆ af_glyph_hints_save()

af_glyph_hints_save ( AF_GlyphHints  hints,
FT_Outline outline 
)