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

pshalgo.h File Reference
#include "pshrec.h"
#include "pshglob.h"

Go to the source code of this file.

Data Structures

struct  PSH_HintRec
struct  PSH_Zone
struct  PSH_Hint_Table
struct  PSH_PointRec
struct  PSH_ContourRec
struct  PSH_Glyph

Defines

#define psh_hint_is_active(x)   ( ( (x)->flags & PSH_HINT_ACTIVE ) != 0 )
#define psh_hint_is_ghost(x)   ( ( (x)->flags & PSH_HINT_GHOST ) != 0 )
#define psh_hint_is_fitted(x)   ( ( (x)->flags & PSH_HINT_FITTED ) != 0 )
#define psh_hint_activate(x)   (x)->flags |= PSH_HINT_ACTIVE
#define psh_hint_deactivate(x)   (x)->flags &= ~PSH_HINT_ACTIVE
#define psh_hint_set_fitted(x)   (x)->flags |= PSH_HINT_FITTED
#define PSH_DIR_HORIZONTAL   2
#define PSH_DIR_VERTICAL   1
#define PSH_DIR_COMPARE(d1, d2)   ( (d1) == (d2) || (d1) == -(d2) )
#define PSH_DIR_IS_HORIZONTAL(d)   PSH_DIR_COMPARE( d, PSH_DIR_HORIZONTAL )
#define PSH_DIR_IS_VERTICAL(d)   PSH_DIR_COMPARE( d, PSH_DIR_VERTICAL )
#define psh_point_is_smooth(p)   ( (p)->flags & PSH_POINT_SMOOTH )
#define psh_point_is_off(p)   ( (p)->flags & PSH_POINT_OFF )
#define psh_point_is_inflex(p)   ( (p)->flags & PSH_POINT_INFLEX )
#define psh_point_set_smooth(p)   (p)->flags |= PSH_POINT_SMOOTH
#define psh_point_set_off(p)   (p)->flags |= PSH_POINT_OFF
#define psh_point_set_inflex(p)   (p)->flags |= PSH_POINT_INFLEX
#define psh_point_is_strong(p)   ( (p)->flags2 & PSH_POINT_STRONG )
#define psh_point_is_fitted(p)   ( (p)->flags2 & PSH_POINT_FITTED )
#define psh_point_is_extremum(p)   ( (p)->flags2 & PSH_POINT_EXTREMUM )
#define psh_point_is_positive(p)   ( (p)->flags2 & PSH_POINT_POSITIVE )
#define psh_point_is_negative(p)   ( (p)->flags2 & PSH_POINT_NEGATIVE )
#define psh_point_is_edge_min(p)   ( (p)->flags2 & PSH_POINT_EDGE_MIN )
#define psh_point_is_edge_max(p)   ( (p)->flags2 & PSH_POINT_EDGE_MAX )
#define psh_point_set_strong(p)   (p)->flags2 |= PSH_POINT_STRONG
#define psh_point_set_fitted(p)   (p)->flags2 |= PSH_POINT_FITTED
#define psh_point_set_extremum(p)   (p)->flags2 |= PSH_POINT_EXTREMUM
#define psh_point_set_positive(p)   (p)->flags2 |= PSH_POINT_POSITIVE
#define psh_point_set_negative(p)   (p)->flags2 |= PSH_POINT_NEGATIVE
#define psh_point_set_edge_min(p)   (p)->flags2 |= PSH_POINT_EDGE_MIN
#define psh_point_set_edge_max(p)   (p)->flags2 |= PSH_POINT_EDGE_MAX
#define PSH_POINT_EQUAL_ORG(a, b)
#define PSH_POINT_ANGLE(a, b)

Typedefs

typedef typedefFT_BEGIN_HEADER
struct PSH_HintRec_ * 
PSH_Hint
typedef struct PSH_PointRec_ * PSH_Point
typedef struct PSH_ContourRec_ * PSH_Contour

Enumerations

enum  PSH_Hint_Flags { PSH_HINT_GHOST = PS_HINT_FLAG_GHOST, PSH_HINT_BOTTOM = PS_HINT_FLAG_BOTTOM, PSH_HINT_ACTIVE = 4, PSH_HINT_FITTED = 8 }
enum  {
  PSH_DIR_NONE = 4, PSH_DIR_UP = -1, PSH_DIR_DOWN = 1, PSH_DIR_LEFT = -2,
  PSH_DIR_RIGHT = 2
}
enum  { PSH_POINT_OFF = 1, PSH_POINT_SMOOTH = 2, PSH_POINT_INFLEX = 4 }
enum  {
  PSH_POINT_STRONG = 16, PSH_POINT_FITTED = 32, PSH_POINT_EXTREMUM = 64, PSH_POINT_POSITIVE = 128,
  PSH_POINT_NEGATIVE = 256, PSH_POINT_EDGE_MIN = 512, PSH_POINT_EDGE_MAX = 1024
}

Functions

FT_Error ps_hints_apply (PS_Hints ps_hints, FT_Outline *outline, PSH_Globals globals, FT_Render_Mode hint_mode)

Generated on Sun May 27 2012 06:00:27 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.