ReactOS 0.4.16-dev-1067-ge98bba2
pshmod.c File Reference
#include <ft2build.h>
#include "pshrec.h"
#include "pshalgo.h"
Include dependency graph for pshmod.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PS_Hinter_Module_Rec_
 

Typedefs

typedef struct PS_Hinter_Module_Rec_ PS_Hinter_ModuleRec
 
typedef struct PS_Hinter_Module_Rec_PS_Hinter_Module
 

Functions

 ps_hinter_done (PS_Hinter_Module module)
 
 ps_hinter_init (PS_Hinter_Module module)
 
 pshinter_get_globals_funcs (FT_Module module)
 
 pshinter_get_t1_funcs (FT_Module module)
 
 pshinter_get_t2_funcs (FT_Module module)
 

Typedef Documentation

◆ PS_Hinter_Module

◆ PS_Hinter_ModuleRec

Function Documentation

◆ ps_hinter_done()

ps_hinter_done ( PS_Hinter_Module  module)

Definition at line 40 of file pshmod.c.

41 {
42 module->t1_funcs.hints = NULL;
43 module->t2_funcs.hints = NULL;
44
45 ps_hints_done( &module->ps_hints );
46 }
#define NULL
Definition: types.h:112
ps_hints_done(PS_Hints hints)
Definition: pshrec.c:804

◆ ps_hinter_init()

ps_hinter_init ( PS_Hinter_Module  module)

Definition at line 51 of file pshmod.c.

52 {
53 FT_Memory memory = module->root.memory;
54 void* ph = &module->ps_hints;
55
56
57 ps_hints_init( &module->ps_hints, memory );
58
59 psh_globals_funcs_init( &module->globals_funcs );
60
61 t1_hints_funcs_init( &module->t1_funcs );
62 module->t1_funcs.hints = (T1_Hints)ph;
63
64 t2_hints_funcs_init( &module->t2_funcs );
65 module->t2_funcs.hints = (T2_Hints)ph;
66
67 return 0;
68 }
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
Definition: ftsystem.h:65
struct T1_HintsRec_ * T1_Hints
Definition: pshints.h:104
struct T2_HintsRec_ * T2_Hints
Definition: pshints.h:391
static char memory[1024 *256]
Definition: process.c:116
psh_globals_funcs_init(PSH_Globals_FuncsRec *funcs)
Definition: pshglob.c:788
t1_hints_funcs_init(T1_Hints_FuncsRec *funcs)
Definition: pshrec.c:1141
ps_hints_init(PS_Hints hints, FT_Memory memory)
Definition: pshrec.c:818
t2_hints_funcs_init(T2_Hints_FuncsRec *funcs)
Definition: pshrec.c:1207

◆ pshinter_get_globals_funcs()

pshinter_get_globals_funcs ( FT_Module  module)

Definition at line 73 of file pshmod.c.

74 {
75 return &((PS_Hinter_Module)module)->globals_funcs;
76 }
struct PS_Hinter_Module_Rec_ * PS_Hinter_Module

◆ pshinter_get_t1_funcs()

pshinter_get_t1_funcs ( FT_Module  module)

Definition at line 81 of file pshmod.c.

82 {
83 return &((PS_Hinter_Module)module)->t1_funcs;
84 }

◆ pshinter_get_t2_funcs()

pshinter_get_t2_funcs ( FT_Module  module)

Definition at line 89 of file pshmod.c.

90 {
91 return &((PS_Hinter_Module)module)->t2_funcs;
92 }