diff options
Diffstat (limited to 'src/pshinter/pshfit.h')
-rw-r--r-- | src/pshinter/pshfit.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/pshinter/pshfit.h b/src/pshinter/pshfit.h index bc83d33ad..f51ec15d5 100644 --- a/src/pshinter/pshfit.h +++ b/src/pshinter/pshfit.h @@ -40,9 +40,9 @@ FT_BEGIN_HEADER } PSH_Hint_Flags; -#define psh_hint_is_active(x) (((x)->flags & PSH_HINT_FLAG_ACTIVE) != 0) -#define psh_hint_activate(x) (x)->flags |= PSH_HINT_FLAG_ACTIVE -#define psh_hint_deactivate(x) (x)->flags &= ~PSH_HINT_FLAG_ACTIVE +#define psh_hint_is_active(x) (((x)->flags & PSH_HINT_FLAG_ACTIVE) != 0) +#define psh_hint_activate(x) (x)->flags |= PSH_HINT_FLAG_ACTIVE +#define psh_hint_deactivate(x) (x)->flags &= ~PSH_HINT_FLAG_ACTIVE typedef struct PSH_HintRec_ { @@ -59,6 +59,9 @@ FT_BEGIN_HEADER } PSH_HintRec; + /* this is an interpolation zone used for strong points */ + /* weak points are interpolated according to their strong */ + /* neighbours.. */ typedef struct PSH_ZoneRec_ { FT_Fixed scale; @@ -85,6 +88,12 @@ FT_BEGIN_HEADER } PSH_Hint_TableRec, *PSH_Hint_Table; + FT_LOCAL FT_Error + ps_hints_apply( PS_Hints ps_hints, + FT_Outline* outline, + PSH_Globals globals ); + + FT_END_HEADER #endif /* __PS_HINTER_FITTER_H__ */ |