ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

afhints.h File Reference
#include "aftypes.h"

Go to the source code of this file.

Data Structures

struct  AF_PointRec
struct  AF_SegmentRec
struct  AF_EdgeRec
struct  AF_AxisHints
struct  AF_GlyphHintsRec

Defines

#define xxAF_SORT_SEGMENTS
#define AF_HINTS_TEST_SCALER(h, f)   ( (h)->scaler_flags & (f) )
#define AF_HINTS_TEST_OTHER(h, f)   ( (h)->other_flags & (f) )
#define AF_HINTS_DO_HORIZONTAL(h)   !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL )
#define AF_HINTS_DO_VERTICAL(h)   !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL )
#define AF_HINTS_DO_ADVANCE(h)   !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_ADVANCE )
#define AF_HINTS_DO_BLUES(h)   1
#define AF_SEGMENT_LEN(seg)   ( (seg)->max_coord - (seg)->min_coord )
#define AF_SEGMENT_DIST(seg1, seg2)

Typedefs

typedef struct AF_PointRec_ * AF_Point
typedef struct AF_SegmentRec_ * AF_Segment
typedef struct AF_EdgeRec_ * AF_Edge

Enumerations

enum  AF_Dimension { AF_DIMENSION_HORZ = 0, AF_DIMENSION_VERT = 1, AF_DIMENSION_MAX }
enum  AF_Direction {
  AF_DIR_NONE = 4, AF_DIR_RIGHT = 1, AF_DIR_LEFT = -1, AF_DIR_UP = 2,
  AF_DIR_DOWN = -2
}
enum  AF_Flags {
  AF_FLAG_NONE = 0, AF_FLAG_CONIC = 1 << 0, AF_FLAG_CUBIC = 1 << 1, AF_FLAG_CONTROL = AF_FLAG_CONIC | AF_FLAG_CUBIC,
  AF_FLAG_EXTREMA_X = 1 << 2, AF_FLAG_EXTREMA_Y = 1 << 3, AF_FLAG_ROUND_X = 1 << 4, AF_FLAG_ROUND_Y = 1 << 5,
  AF_FLAG_TOUCH_X = 1 << 6, AF_FLAG_TOUCH_Y = 1 << 7, AF_FLAG_WEAK_INTERPOLATION = 1 << 8, AF_FLAG_INFLECTION = 1 << 9
}
enum  AF_Edge_Flags { AF_EDGE_NORMAL = 0, AF_EDGE_ROUND = 1 << 0, AF_EDGE_SERIF = 1 << 1, AF_EDGE_DONE = 1 << 2 }

Functions

 af_direction_compute (FT_Pos dx, FT_Pos dy)
 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 *edge)
 af_glyph_hints_init (AF_GlyphHints hints, FT_Memory memory)
 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)
 af_glyph_hints_done (AF_GlyphHints hints)

Generated on Fri May 25 2012 05:57:44 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.