psobjs.h File Reference

#include <ft2build.h>

Go to the source code of this file.

Functions

 ps_table_new (PS_Table table, FT_Int count, FT_Memory memory)
 ps_table_add (PS_Table table, FT_Int idx, void *object, FT_PtrDist length)
 ps_table_done (PS_Table table)
 ps_table_release (PS_Table table)
 ps_parser_skip_spaces (PS_Parser parser)
 ps_parser_skip_PS_token (PS_Parser parser)
 ps_parser_to_token (PS_Parser parser, T1_Token token)
 ps_parser_to_token_array (PS_Parser parser, T1_Token tokens, FT_UInt max_tokens, FT_Int *pnum_tokens)
 ps_parser_load_field (PS_Parser parser, const T1_Field field, void **objects, FT_UInt max_objects, FT_ULong *pflags)
 ps_parser_load_field_table (PS_Parser parser, const T1_Field field, void **objects, FT_UInt max_objects, FT_ULong *pflags)
 ps_parser_to_int (PS_Parser parser)
 ps_parser_to_bytes (PS_Parser parser, FT_Byte *bytes, FT_Offset max_bytes, FT_Long *pnum_bytes, FT_Bool delimiters)
 ps_parser_to_fixed (PS_Parser parser, FT_Int power_ten)
 ps_parser_to_coord_array (PS_Parser parser, FT_Int max_coords, FT_Short *coords)
 ps_parser_to_fixed_array (PS_Parser parser, FT_Int max_values, FT_Fixed *values, FT_Int power_ten)
 ps_parser_init (PS_Parser parser, FT_Byte *base, FT_Byte *limit, FT_Memory memory)
 ps_parser_done (PS_Parser parser)
 t1_builder_init (T1_Builder builder, FT_Face face, FT_Size size, FT_GlyphSlot glyph, FT_Bool hinting)
 t1_builder_done (T1_Builder builder)
 t1_builder_check_points (T1_Builder builder, FT_Int count)
 t1_builder_add_point (T1_Builder builder, FT_Pos x, FT_Pos y, FT_Byte flag)
 t1_builder_add_point1 (T1_Builder builder, FT_Pos x, FT_Pos y)
 t1_builder_add_contour (T1_Builder builder)
 t1_builder_start_point (T1_Builder builder, FT_Pos x, FT_Pos y)
 t1_builder_close_contour (T1_Builder builder)
 t1_decrypt (FT_Byte *buffer, FT_Offset length, FT_UShort seed)

Variables

FT_BEGIN_HEADER FT_CALLBACK_TABLE
const PS_Table_FuncsRec 
ps_table_funcs
FT_CALLBACK_TABLE const PS_Parser_FuncsRec ps_parser_funcs
FT_CALLBACK_TABLE const T1_Builder_FuncsRec t1_builder_funcs


Function Documentation

ps_parser_done ( PS_Parser  parser  ) 

Definition at line 1432 of file psobjs.c.

References FT_UNUSED.

ps_parser_init ( PS_Parser  parser,
FT_Byte base,
FT_Byte limit,
FT_Memory  memory 
)

Definition at line 1417 of file psobjs.c.

References ps_parser_funcs.

ps_parser_load_field ( PS_Parser  parser,
const T1_Field  field,
void **  objects,
FT_UInt  max_objects,
FT_ULong pflags 
)

Definition at line 1024 of file psobjs.c.

References FT_ALLOC, FT_CHAR_BIT, FT_ERROR, FT_FREE, FT_MEM_COPY, FT_RoundFix(), FT_TRACE0, T1_TokenRec_::limit, NULL, PS_Conv_ToFixed(), PS_Conv_ToInt(), ps_parser_to_token(), ps_tobool(), ps_tofixedarray(), skip_spaces(), T1_TokenRec_::start, T1_FIELD_TYPE_BBOX, T1_FIELD_TYPE_BOOL, T1_FIELD_TYPE_FIXED, T1_FIELD_TYPE_FIXED_1000, T1_FIELD_TYPE_INTEGER, T1_FIELD_TYPE_KEY, T1_FIELD_TYPE_STRING, T1_TOKEN_TYPE_ARRAY, T1_TOKEN_TYPE_KEY, T1_TOKEN_TYPE_STRING, T1_TokenRec_::type, val, FT_BBox_::xMax, FT_BBox_::xMin, FT_BBox_::yMax, and FT_BBox_::yMin.

Referenced by ps_parser_load_field_table().

ps_parser_load_field_table ( PS_Parser  parser,
const T1_Field  field,
void **  objects,
FT_UInt  max_objects,
FT_ULong pflags 
)

Definition at line 1239 of file psobjs.c.

References FT_UNUSED, RooFitShortHand::L(), T1_TokenRec_::limit, T1_FieldRec_::offset, ps_parser_load_field(), ps_parser_to_token_array(), T1_FieldRec_::size, T1_TokenRec_::start, T1_FIELD_TYPE_BBOX, T1_FIELD_TYPE_FIXED, T1_FIELD_TYPE_FIXED_ARRAY, T1_FIELD_TYPE_INTEGER, T1_MAX_TABLE_ELEMENTS, and T1_FieldRec_::type.

ps_parser_skip_PS_token ( PS_Parser  parser  ) 

Definition at line 514 of file psobjs.c.

References error, FT_ERROR, IS_PS_DELIM, skip_literal_string(), skip_procedure(), skip_spaces(), and skip_string().

Referenced by ps_parser_to_token().

ps_parser_skip_spaces ( PS_Parser  parser  ) 

Definition at line 609 of file psobjs.c.

References skip_spaces().

Referenced by ps_parser_to_bytes(), ps_parser_to_coord_array(), ps_parser_to_fixed(), ps_parser_to_fixed_array(), ps_parser_to_int(), and ps_parser_to_token().

ps_parser_to_bytes ( PS_Parser  parser,
FT_Byte bytes,
FT_Offset  max_bytes,
FT_Long pnum_bytes,
FT_Bool  delimiters 
)

Definition at line 1314 of file psobjs.c.

References FT_ERROR, PS_Conv_ASCIIHexDecode(), and ps_parser_skip_spaces().

ps_parser_to_coord_array ( PS_Parser  parser,
FT_Int  max_coords,
FT_Short coords 
)

Definition at line 1376 of file psobjs.c.

References ps_parser_skip_spaces(), and ps_tocoordarray().

ps_parser_to_fixed ( PS_Parser  parser,
FT_Int  power_ten 
)

Definition at line 1367 of file psobjs.c.

References PS_Conv_ToFixed(), and ps_parser_skip_spaces().

ps_parser_to_fixed_array ( PS_Parser  parser,
FT_Int  max_values,
FT_Fixed values,
FT_Int  power_ten 
)

Definition at line 1387 of file psobjs.c.

References ps_parser_skip_spaces(), and ps_tofixedarray().

ps_parser_to_int ( PS_Parser  parser  ) 

Definition at line 1304 of file psobjs.c.

References PS_Conv_ToInt(), and ps_parser_skip_spaces().

ps_parser_to_token ( PS_Parser  parser,
T1_Token  token 
)

Definition at line 619 of file psobjs.c.

References error, ps_parser_skip_PS_token(), ps_parser_skip_spaces(), skip_literal_string(), skip_procedure(), T1_TOKEN_TYPE_ANY, T1_TOKEN_TYPE_ARRAY, T1_TOKEN_TYPE_KEY, T1_TOKEN_TYPE_NONE, and T1_TOKEN_TYPE_STRING.

Referenced by ps_parser_load_field(), and ps_parser_to_token_array().

ps_parser_to_token_array ( PS_Parser  parser,
T1_Token  tokens,
FT_UInt  max_tokens,
FT_Int pnum_tokens 
)

Definition at line 722 of file psobjs.c.

References T1_TokenRec_::limit, NULL, ps_parser_to_token(), T1_TokenRec_::start, T1_TOKEN_TYPE_ARRAY, and T1_TokenRec_::type.

Referenced by ps_parser_load_field_table().

ps_table_add ( PS_Table  table,
FT_Int  idx,
void *  object,
FT_PtrDist  length 
)

Definition at line 168 of file psobjs.c.

References error, FT_ERROR, FT_MEM_COPY, FT_PAD_CEIL, in_offset, and reallocate_t1_table().

ps_table_done ( PS_Table  table  ) 

Definition at line 240 of file psobjs.c.

References error, FT_ALLOC, FT_FREE, FT_MEM_COPY, FT_UNUSED, and shift_elements().

ps_table_new ( PS_Table  table,
FT_Int  count,
FT_Memory  memory 
)

Definition at line 69 of file psobjs.c.

References error, FT_FREE, FT_NEW_ARRAY, if(), and ps_table_funcs.

ps_table_release ( PS_Table  table  ) 

Definition at line 264 of file psobjs.c.

References FT_FREE.

t1_builder_add_contour ( T1_Builder  builder  ) 

Definition at line 1585 of file psobjs.c.

References FT_Outline_::contours, FT_GLYPHLOADER_CHECK_POINTS, FT_Outline_::n_contours, FT_Outline_::n_points, and short.

Referenced by t1_builder_start_point().

t1_builder_add_point ( T1_Builder  builder,
FT_Pos  x,
FT_Pos  y,
FT_Byte  flag 
)

Definition at line 1544 of file psobjs.c.

References FIXED_TO_INT, FT_CURVE_TAG_CUBIC, FT_CURVE_TAG_ON, FT_Outline_::n_points, FT_Outline_::points, FT_Outline_::tags, POINT::x, and POINT::y.

Referenced by t1_builder_add_point1().

t1_builder_add_point1 ( T1_Builder  builder,
FT_Pos  x,
FT_Pos  y 
)

Definition at line 1568 of file psobjs.c.

References t1_builder_add_point(), and t1_builder_check_points().

Referenced by t1_builder_start_point().

t1_builder_check_points ( T1_Builder  builder,
FT_Int  count 
)

Definition at line 1535 of file psobjs.c.

References FT_GLYPHLOADER_CHECK_POINTS.

Referenced by t1_builder_add_point1().

t1_builder_close_contour ( T1_Builder  builder  ) 

Definition at line 1638 of file psobjs.c.

References FT_Outline_::contours, FT_CURVE_TAG_ON, if(), FT_Outline_::n_contours, FT_Outline_::n_points, p1(), p2(), FT_Outline_::points, short, and FT_Outline_::tags.

t1_builder_done ( T1_Builder  builder  ) 

Definition at line 1523 of file psobjs.c.

References FT_GlyphSlotRec_::outline.

Referenced by t1_decoder_done().

t1_builder_init ( T1_Builder  builder,
FT_Face  face,
FT_Size  size,
FT_GlyphSlot  glyph,
FT_Bool  hinting 
)

Definition at line 1467 of file psobjs.c.

References FT_GlyphLoaderRec_::base, FT_GlyphLoader_Rewind(), FT_GlyphLoadRec_::outline, t1_builder_funcs, and T1_Parse_Start.

Referenced by t1_decoder_init().

t1_builder_start_point ( T1_Builder  builder,
FT_Pos  x,
FT_Pos  y 
)

Definition at line 1613 of file psobjs.c.

References t1_builder_add_contour(), t1_builder_add_point1(), T1_Parse_Have_Moveto, and T1_Parse_Have_Path.

t1_decrypt ( FT_Byte buffer,
FT_Offset  length,
FT_UShort  seed 
)

Definition at line 1691 of file psobjs.c.

References PS_Conv_EexecDecode().


Variable Documentation

FT_CALLBACK_TABLE const PS_Parser_FuncsRec ps_parser_funcs

Definition at line 43 of file psobjs.h.

FT_BEGIN_HEADER FT_CALLBACK_TABLE const PS_Table_FuncsRec ps_table_funcs

Definition at line 40 of file psobjs.h.

FT_CALLBACK_TABLE const T1_Builder_FuncsRec t1_builder_funcs

Definition at line 46 of file psobjs.h.


Generated on Tue Jul 5 15:58:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1