Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Typedefs | Enumerations | Functions
t1decode.c File Reference
#include <ft2build.h>
#include "t1decode.h"
#include "psobjs.h"
#include "psauxerr.h"

Go to the source code of this file.

Macros

#define Fix2Int(f)   ( (FT_Int)(FT_Short)( (f) >> 16 ) )
 
#define FT_COMPONENT   trace_t1decode
 

Typedefs

typedef enum T1_Operator_ T1_Operator
 

Enumerations

enum  T1_Operator_ {
  op_none = 0, op_endchar, op_hsbw, op_seac,
  op_sbw, op_closepath, op_hlineto, op_hmoveto,
  op_hvcurveto, op_rlineto, op_rmoveto, op_rrcurveto,
  op_vhcurveto, op_vlineto, op_vmoveto, op_dotsection,
  op_hstem, op_hstem3, op_vstem, op_vstem3,
  op_div, op_callothersubr, op_callsubr, op_pop,
  op_return, op_setcurrentpoint, op_unknown15, op_max
}
 

Functions

 t1_decoder_parse_charstrings (T1_Decoder decoder, FT_Byte *charstring_base, FT_UInt charstring_len)
 
 t1_decoder_parse_glyph (T1_Decoder decoder, FT_UInt glyph)
 
 t1_decoder_init (T1_Decoder decoder, FT_Face face, FT_Size size, FT_GlyphSlot slot, FT_Byte **glyph_names, PS_Blend blend, FT_Bool hinting, FT_Render_Mode hint_mode, T1_Decoder_Callback parse_callback)
 
 t1_decoder_done (T1_Decoder decoder)
 

Macro Definition Documentation

◆ Fix2Int

#define Fix2Int (   f)    ( (FT_Int)(FT_Short)( (f) >> 16 ) )

Definition at line 31 of file t1decode.c.

Referenced by t1_decoder_parse_charstrings().

◆ FT_COMPONENT

#define FT_COMPONENT   trace_t1decode

Definition at line 40 of file t1decode.c.

Typedef Documentation

◆ T1_Operator

typedef enum T1_Operator_ T1_Operator

Enumeration Type Documentation

◆ T1_Operator_

Enumerator
op_none 
op_endchar 
op_hsbw 
op_seac 
op_sbw 
op_closepath 
op_hlineto 
op_hmoveto 
op_hvcurveto 
op_rlineto 
op_rmoveto 
op_rrcurveto 
op_vhcurveto 
op_vlineto 
op_vmoveto 
op_dotsection 
op_hstem 
op_hstem3 
op_vstem 
op_vstem3 
op_div 
op_callothersubr 
op_callsubr 
op_pop 
op_return 
op_setcurrentpoint 
op_unknown15 
op_max 

Definition at line 43 of file t1decode.c.

Function Documentation

◆ t1_decoder_done()

t1_decoder_done ( T1_Decoder  decoder)

Definition at line 1614 of file t1decode.c.

References T1_DecoderRec_::builder, and t1_builder_done().

◆ t1_decoder_init()

t1_decoder_init ( T1_Decoder  decoder,
FT_Face  face,
FT_Size  size,
FT_GlyphSlot  slot,
FT_Byte **  glyph_names,
PS_Blend  blend,
FT_Bool  hinting,
FT_Render_Mode  hint_mode,
T1_Decoder_Callback  parse_callback 
)

◆ t1_decoder_parse_charstrings()

t1_decoder_parse_charstrings ( T1_Decoder  decoder,
FT_Byte charstring_base,
FT_UInt  charstring_len 
)

◆ t1_decoder_parse_glyph()

t1_decoder_parse_glyph ( T1_Decoder  decoder,
FT_UInt  glyph 
)

Definition at line 1557 of file t1decode.c.

References FT_LOCAL_DEF, and T1_DecoderRec_::parse_callback.