ReactOS  0.4.15-dev-439-g292f67a
pshmod.c File Reference
#include <ft2build.h>
#include "pshrec.h"
#include "pshalgo.h"
#include "pshpic.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 41 of file pshmod.c.

42  {
43  module->t1_funcs.hints = NULL;
44  module->t2_funcs.hints = NULL;
45 
46  ps_hints_done( &module->ps_hints );
47  }
ps_hints_done(PS_Hints hints)
Definition: pshrec.c:804
smooth NULL
Definition: ftsmooth.c:416

◆ ps_hinter_init()

ps_hinter_init ( PS_Hinter_Module  module)

Definition at line 52 of file pshmod.c.

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

◆ pshinter_get_globals_funcs()

pshinter_get_globals_funcs ( FT_Module  module)

Definition at line 74 of file pshmod.c.

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

◆ pshinter_get_t1_funcs()

pshinter_get_t1_funcs ( FT_Module  module)

Definition at line 82 of file pshmod.c.

83  {
84  return &((PS_Hinter_Module)module)->t1_funcs;
85  }
struct PS_Hinter_Module_Rec_ * PS_Hinter_Module

◆ pshinter_get_t2_funcs()

pshinter_get_t2_funcs ( FT_Module  module)

Definition at line 90 of file pshmod.c.

91  {
92  return &((PS_Hinter_Module)module)->t2_funcs;
93  }
struct PS_Hinter_Module_Rec_ * PS_Hinter_Module