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]
Classes | Macros | Typedefs | Enumerations | Functions
afmparse.h File Reference
#include <ft2build.h>

Go to the source code of this file.

Classes

struct  AFM_ValueRec_
 

Macros

#define AFM_MAX_ARGUMENTS   5
 

Typedefs

typedef struct AFM_ValueRec_ AFM_ValueRec
 
typedef struct AFM_ValueRec_AFM_Value
 

Enumerations

enum  AFM_ValueType_ {
  AFM_VALUE_TYPE_STRING, AFM_VALUE_TYPE_NAME, AFM_VALUE_TYPE_FIXED, AFM_VALUE_TYPE_INTEGER,
  AFM_VALUE_TYPE_BOOL, AFM_VALUE_TYPE_INDEX
}
 

Functions

FT_BEGIN_HEADER afm_parser_init (AFM_Parser parser, FT_Memory memory, FT_Byte *base, FT_Byte *limit)
 
 afm_parser_done (AFM_Parser parser)
 
 afm_parser_parse (AFM_Parser parser)
 
 afm_parser_read_vals (AFM_Parser parser, AFM_Value vals, FT_UInt n)
 
 afm_parser_next_key (AFM_Parser parser, FT_Bool line, FT_Offset *len)
 

Macro Definition Documentation

◆ AFM_MAX_ARGUMENTS

#define AFM_MAX_ARGUMENTS   5

Definition at line 70 of file afmparse.h.

Referenced by afm_parser_read_vals().

Typedef Documentation

◆ AFM_Value

typedef struct AFM_ValueRec_ * AFM_Value

◆ AFM_ValueRec

typedef struct AFM_ValueRec_ AFM_ValueRec

Enumeration Type Documentation

◆ AFM_ValueType_

Enumerator
AFM_VALUE_TYPE_STRING 
AFM_VALUE_TYPE_NAME 
AFM_VALUE_TYPE_FIXED 
AFM_VALUE_TYPE_INTEGER 
AFM_VALUE_TYPE_BOOL 
AFM_VALUE_TYPE_INDEX 

Definition at line 45 of file afmparse.h.

Function Documentation

◆ afm_parser_done()

afm_parser_done ( AFM_Parser  parser)

Definition at line 554 of file afmparse.c.

References FT_FREE, and FT_LOCAL_DEF.

◆ afm_parser_init()

FT_BEGIN_HEADER afm_parser_init ( AFM_Parser  parser,
FT_Memory  memory,
FT_Byte base,
FT_Byte limit 
)

Definition at line 526 of file afmparse.c.

References AFM_STREAM_STATUS_EOL, error, FT_Err_Ok, FT_LOCAL, FT_NEW, and NULL.

◆ afm_parser_next_key()

afm_parser_next_key ( AFM_Parser  parser,
FT_Bool  line,
FT_Offset len 
)

Definition at line 442 of file afmparse.c.

References AFM_STATUS_EOL.

Referenced by afm_parser_parse().

◆ afm_parser_parse()

afm_parser_parse ( AFM_Parser  parser)

◆ afm_parser_read_vals()

afm_parser_read_vals ( AFM_Parser  parser,
AFM_Value  vals,
FT_UInt  n 
)

Definition at line 368 of file afmparse.c.

References AFM_MAX_ARGUMENTS, AFM_VALUE_TYPE_STRING, i, and AFM_ValueRec_::type.

Referenced by afm_parser_read_int().