ReactOS 0.4.15-dev-7934-g1dc8d80
pshrec.h File Reference
#include <ft2build.h>
#include "pshglob.h"
Include dependency graph for pshrec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PS_HintRec_
 
struct  PS_Hint_TableRec_
 
struct  PS_MaskRec_
 
struct  PS_Mask_TableRec_
 
struct  PS_DimensionRec_
 
struct  PS_HintsRec_
 

Macros

#define PS_HINT_FLAG_GHOST   1U
 
#define PS_HINT_FLAG_BOTTOM   2U
 
#define ps_hint_is_active(x)   ( (x)->flags & PS_HINT_FLAG_ACTIVE )
 
#define ps_hint_is_ghost(x)   ( (x)->flags & PS_HINT_FLAG_GHOST )
 
#define ps_hint_is_bottom(x)   ( (x)->flags & PS_HINT_FLAG_BOTTOM )
 

Typedefs

typedef typedefFT_BEGIN_HEADER struct PS_HintRec_PS_Hint
 
typedef enum PS_Hint_Type_ PS_Hint_Type
 
typedef struct PS_HintRec_ PS_HintRec
 
typedef struct PS_Hint_TableRec_ PS_Hint_TableRec
 
typedef struct PS_Hint_TableRec_PS_Hint_Table
 
typedef struct PS_MaskRec_ PS_MaskRec
 
typedef struct PS_MaskRec_PS_Mask
 
typedef struct PS_Mask_TableRec_ PS_Mask_TableRec
 
typedef struct PS_Mask_TableRec_PS_Mask_Table
 
typedef struct PS_DimensionRec_ PS_DimensionRec
 
typedef struct PS_DimensionRec_PS_Dimension
 
typedef struct PS_HintsRec_ PS_HintsRec
 
typedef struct PS_HintsRec_PS_Hints
 

Enumerations

enum  PS_Hint_Type_ { PS_HINT_TYPE_1 = 1 , PS_HINT_TYPE_2 = 2 }
 

Functions

 ps_hints_init (PS_Hints hints, FT_Memory memory)
 
 ps_hints_done (PS_Hints hints)
 
 t1_hints_funcs_init (T1_Hints_FuncsRec *funcs)
 
 t2_hints_funcs_init (T2_Hints_FuncsRec *funcs)
 

Macro Definition Documentation

◆ PS_HINT_FLAG_BOTTOM

#define PS_HINT_FLAG_BOTTOM   2U

Definition at line 65 of file pshrec.h.

◆ PS_HINT_FLAG_GHOST

#define PS_HINT_FLAG_GHOST   1U

Definition at line 64 of file pshrec.h.

◆ ps_hint_is_active

#define ps_hint_is_active (   x)    ( (x)->flags & PS_HINT_FLAG_ACTIVE )

Definition at line 78 of file pshrec.h.

◆ ps_hint_is_bottom

#define ps_hint_is_bottom (   x)    ( (x)->flags & PS_HINT_FLAG_BOTTOM )

Definition at line 80 of file pshrec.h.

◆ ps_hint_is_ghost

#define ps_hint_is_ghost (   x)    ( (x)->flags & PS_HINT_FLAG_GHOST )

Definition at line 79 of file pshrec.h.

Typedef Documentation

◆ PS_Dimension

◆ PS_DimensionRec

◆ PS_Hint

typedef typedefFT_BEGIN_HEADER struct PS_HintRec_* PS_Hint

Definition at line 52 of file pshrec.h.

◆ PS_Hint_Table

◆ PS_Hint_TableRec

◆ PS_Hint_Type

◆ PS_HintRec

◆ PS_Hints

◆ PS_HintsRec

◆ PS_Mask

◆ PS_Mask_Table

◆ PS_Mask_TableRec

◆ PS_MaskRec

Enumeration Type Documentation

◆ PS_Hint_Type_

Enumerator
PS_HINT_TYPE_1 
PS_HINT_TYPE_2 

Definition at line 55 of file pshrec.h.

56 {
59
enum PS_Hint_Type_ PS_Hint_Type
@ PS_HINT_TYPE_1
Definition: pshrec.h:57
@ PS_HINT_TYPE_2
Definition: pshrec.h:58

Function Documentation

◆ ps_hints_done()

ps_hints_done ( PS_Hints  hints)

Definition at line 804 of file pshrec.c.

805 {
806 FT_Memory memory = hints->memory;
807
808
809 ps_dimension_done( &hints->dimension[0], memory );
810 ps_dimension_done( &hints->dimension[1], memory );
811
812 hints->error = FT_Err_Ok;
813 hints->memory = NULL;
814 }
#define NULL
Definition: types.h:112
return FT_Err_Ok
Definition: ftbbox.c:511
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
Definition: ftsystem.h:66
static char memory[1024 *256]
Definition: process.c:116
static void ps_dimension_done(PS_Dimension dimension, FT_Memory memory)
Definition: pshrec.c:544
namespace GUID const ADDRINFOEXW * hints
Definition: sock.c:80

Referenced by ps_hinter_done().

◆ ps_hints_init()

ps_hints_init ( PS_Hints  hints,
FT_Memory  memory 
)

Definition at line 818 of file pshrec.c.

820 {
821 FT_ZERO( hints );
822 hints->memory = memory;
823 }
#define FT_ZERO(p)
Definition: ftmemory.h:237

Referenced by ps_hinter_init().

◆ t1_hints_funcs_init()

t1_hints_funcs_init ( T1_Hints_FuncsRec funcs)

Definition at line 1141 of file pshrec.c.

1142 {
1143 FT_ZERO( funcs );
1144
1151 }
void(* T1_Hints_SetStemFunc)(T1_Hints hints, FT_UInt dimension, FT_Fixed *coords)
Definition: pshints.h:179
void(* T1_Hints_OpenFunc)(T1_Hints hints)
Definition: pshints.h:139
void(* T1_Hints_SetStem3Func)(T1_Hints hints, FT_UInt dimension, FT_Fixed *coords)
Definition: pshints.h:213
FT_Error(* T1_Hints_CloseFunc)(T1_Hints hints, FT_UInt end_point)
Definition: pshints.h:266
FT_Error(* T1_Hints_ApplyFunc)(T1_Hints hints, FT_Outline *outline, PSH_Globals globals, FT_Render_Mode hint_mode)
Definition: pshints.h:305
void(* T1_Hints_ResetFunc)(T1_Hints hints, FT_UInt end_point)
Definition: pshints.h:237
FT_Error ps_hints_apply(PS_Hints ps_hints, FT_Outline *outline, PSH_Globals globals, FT_Render_Mode hint_mode)
Definition: pshalgo.c:2070
static void t1_hints_open(T1_Hints hints)
Definition: pshrec.c:1120
static FT_Error ps_hints_close(PS_Hints hints, FT_UInt end_point)
Definition: pshrec.c:1083
static void t1_hints_stem(T1_Hints hints, FT_UInt dimension, FT_Fixed *coords)
Definition: pshrec.c:1126
static void ps_hints_t1stem3(PS_Hints hints, FT_UInt dimension, FT_Fixed *stems)
Definition: pshrec.c:889
static void ps_hints_t1reset(PS_Hints hints, FT_UInt end_point)
Definition: pshrec.c:952
static struct __wine_debug_functions funcs
Definition: debug.c:59

Referenced by ps_hinter_init().

◆ t2_hints_funcs_init()

t2_hints_funcs_init ( T2_Hints_FuncsRec funcs)

Definition at line 1207 of file pshrec.c.

1208 {
1209 FT_ZERO( funcs );
1210
1217 }
FT_Error(* T2_Hints_CloseFunc)(T2_Hints hints, FT_UInt end_point)
Definition: pshints.h:580
void(* T2_Hints_CounterFunc)(T2_Hints hints, FT_UInt bit_count, const FT_Byte *bytes)
Definition: pshints.h:550
void(* T2_Hints_StemsFunc)(T2_Hints hints, FT_UInt dimension, FT_Int count, FT_Fixed *coordinates)
Definition: pshints.h:466
void(* T2_Hints_OpenFunc)(T2_Hints hints)
Definition: pshints.h:426
void(* T2_Hints_MaskFunc)(T2_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte *bytes)
Definition: pshints.h:508
FT_Error(* T2_Hints_ApplyFunc)(T2_Hints hints, FT_Outline *outline, PSH_Globals globals, FT_Render_Mode hint_mode)
Definition: pshints.h:619
static void ps_hints_t2mask(PS_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte *bytes)
Definition: pshrec.c:991
static void t2_hints_stems(T2_Hints hints, FT_UInt dimension, FT_Int count, FT_Fixed *coords)
Definition: pshrec.c:1170
static void ps_hints_t2counter(PS_Hints hints, FT_UInt bit_count, const FT_Byte *bytes)
Definition: pshrec.c:1037
static void t2_hints_open(T2_Hints hints)
Definition: pshrec.c:1163

Referenced by ps_hinter_init().