ReactOS 0.4.16-dev-2384-gff6bd79
pshrec.h File Reference
#include <freetype/internal/pshints.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 64 of file pshrec.h.

◆ PS_HINT_FLAG_GHOST

#define PS_HINT_FLAG_GHOST   1U

Definition at line 63 of file pshrec.h.

◆ ps_hint_is_active

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

Definition at line 77 of file pshrec.h.

◆ ps_hint_is_bottom

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

Definition at line 79 of file pshrec.h.

◆ ps_hint_is_ghost

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

Definition at line 78 of file pshrec.h.

Typedef Documentation

◆ PS_Dimension

◆ PS_DimensionRec

◆ PS_Hint

typedef typedefFT_BEGIN_HEADER struct PS_HintRec_* PS_Hint

Definition at line 51 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 54 of file pshrec.h.

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

Function Documentation

◆ ps_hints_done()

ps_hints_done ( PS_Hints  hints)

Definition at line 803 of file pshrec.c.

804 {
805 FT_Memory memory = hints->memory;
806
807
808 ps_dimension_done( &hints->dimension[0], memory );
809 ps_dimension_done( &hints->dimension[1], memory );
810
811 hints->error = FT_Err_Ok;
812 hints->memory = NULL;
813 }
#define NULL
Definition: types.h:112
return FT_Err_Ok
Definition: ftbbox.c:526
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
Definition: ftsystem.h:64
static char memory[1024 *256]
Definition: process.c:122
static void ps_dimension_done(PS_Dimension dimension, FT_Memory memory)
Definition: pshrec.c:543
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 817 of file pshrec.c.

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

Referenced by ps_hinter_init().

◆ t1_hints_funcs_init()

t1_hints_funcs_init ( T1_Hints_FuncsRec funcs)

Definition at line 1140 of file pshrec.c.

1141 {
1142 FT_ZERO( funcs );
1143
1150 }
void(* T1_Hints_SetStemFunc)(T1_Hints hints, FT_UInt dimension, FT_Fixed *coords)
Definition: pshints.h:178
void(* T1_Hints_OpenFunc)(T1_Hints hints)
Definition: pshints.h:138
void(* T1_Hints_SetStem3Func)(T1_Hints hints, FT_UInt dimension, FT_Fixed *coords)
Definition: pshints.h:212
FT_Error(* T1_Hints_CloseFunc)(T1_Hints hints, FT_UInt end_point)
Definition: pshints.h:265
FT_Error(* T1_Hints_ApplyFunc)(T1_Hints hints, FT_Outline *outline, PSH_Globals globals, FT_Render_Mode hint_mode)
Definition: pshints.h:304
void(* T1_Hints_ResetFunc)(T1_Hints hints, FT_UInt end_point)
Definition: pshints.h:236
FT_Error ps_hints_apply(PS_Hints ps_hints, FT_Outline *outline, PSH_Globals globals, FT_Render_Mode hint_mode)
Definition: pshalgo.c:2069
static void t1_hints_open(T1_Hints hints)
Definition: pshrec.c:1119
static FT_Error ps_hints_close(PS_Hints hints, FT_UInt end_point)
Definition: pshrec.c:1082
static void t1_hints_stem(T1_Hints hints, FT_UInt dimension, FT_Fixed *coords)
Definition: pshrec.c:1125
static void ps_hints_t1stem3(PS_Hints hints, FT_UInt dimension, FT_Fixed *stems)
Definition: pshrec.c:888
static void ps_hints_t1reset(PS_Hints hints, FT_UInt end_point)
Definition: pshrec.c:951
static struct __wine_debug_functions funcs
Definition: debug.c:48

Referenced by ps_hinter_init().

◆ t2_hints_funcs_init()

t2_hints_funcs_init ( T2_Hints_FuncsRec funcs)

Definition at line 1206 of file pshrec.c.

1207 {
1208 FT_ZERO( funcs );
1209
1216 }
FT_Error(* T2_Hints_CloseFunc)(T2_Hints hints, FT_UInt end_point)
Definition: pshints.h:579
void(* T2_Hints_CounterFunc)(T2_Hints hints, FT_UInt bit_count, const FT_Byte *bytes)
Definition: pshints.h:549
void(* T2_Hints_StemsFunc)(T2_Hints hints, FT_UInt dimension, FT_Int count, FT_Fixed *coordinates)
Definition: pshints.h:465
void(* T2_Hints_OpenFunc)(T2_Hints hints)
Definition: pshints.h:425
void(* T2_Hints_MaskFunc)(T2_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte *bytes)
Definition: pshints.h:507
FT_Error(* T2_Hints_ApplyFunc)(T2_Hints hints, FT_Outline *outline, PSH_Globals globals, FT_Render_Mode hint_mode)
Definition: pshints.h:617
static void ps_hints_t2mask(PS_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte *bytes)
Definition: pshrec.c:990
static void t2_hints_stems(T2_Hints hints, FT_UInt dimension, FT_Int count, FT_Fixed *coords)
Definition: pshrec.c:1169
static void ps_hints_t2counter(PS_Hints hints, FT_UInt bit_count, const FT_Byte *bytes)
Definition: pshrec.c:1036
static void t2_hints_open(T2_Hints hints)
Definition: pshrec.c:1162

Referenced by ps_hinter_init().