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
pfrtypes.h File Reference
#include <ft2build.h>

Go to the source code of this file.

Classes

struct  PFR_HeaderRec_
 
struct  PFR_LogFontRec_
 
struct  PFR_BitmapCharRec_
 
struct  PFR_StrikeRec_
 
struct  PFR_CharRec_
 
struct  PFR_DimensionRec_
 
struct  PFR_KernItemRec_
 
struct  PFR_PhyFontRec_
 
struct  PFR_CoordRec_
 
struct  PFR_SubGlyphRec_
 
struct  PFR_GlyphRec_
 

Macros

#define PFR_KERN_INDEX(g1, g2)   ( ( (FT_UInt32)(g1) << 16 ) | (FT_UInt16)(g2) )
 
#define PFR_KERN_PAIR_INDEX(pair)   PFR_KERN_INDEX( (pair)->glyph1, (pair)->glyph2 )
 
#define PFR_NEXT_KPAIR(p)
 

Typedefs

typedef FT_BEGIN_HEADER struct PFR_HeaderRec_ PFR_HeaderRec
 
typedef FT_BEGIN_HEADER struct PFR_HeaderRec_PFR_Header
 
typedef enum PFR_HeaderFlags_ PFR_HeaderFlags
 
typedef struct PFR_LogFontRec_ PFR_LogFontRec
 
typedef struct PFR_LogFontRec_PFR_LogFont
 
typedef enum PFR_LogFlags_ PFR_LogFlags
 
typedef enum PFR_LineJoinFlags_ PFR_LineJoinFlags
 
typedef enum PFR_BitmapFlags_ PFR_BitmapFlags
 
typedef struct PFR_BitmapCharRec_ PFR_BitmapCharRec
 
typedef struct PFR_BitmapCharRec_PFR_BitmapChar
 
typedef enum PFR_StrikeFlags_ PFR_StrikeFlags
 
typedef struct PFR_StrikeRec_ PFR_StrikeRec
 
typedef struct PFR_StrikeRec_PFR_Strike
 
typedef struct PFR_CharRec_ PFR_CharRec
 
typedef struct PFR_CharRec_PFR_Char
 
typedef struct PFR_DimensionRec_ PFR_DimensionRec
 
typedef struct PFR_DimensionRec_PFR_Dimension
 
typedef struct PFR_KernItemRec_PFR_KernItem
 
typedef struct PFR_KernItemRec_ PFR_KernItemRec
 
typedef struct PFR_PhyFontRec_ PFR_PhyFontRec
 
typedef struct PFR_PhyFontRec_PFR_PhyFont
 
typedef enum PFR_PhyFlags_ PFR_PhyFlags
 
typedef enum PFR_KernFlags_ PFR_KernFlags
 
typedef enum PFR_GlyphFlags_ PFR_GlyphFlags
 
typedef struct PFR_CoordRec_ PFR_CoordRec
 
typedef struct PFR_CoordRec_PFR_Coord
 
typedef struct PFR_SubGlyphRec_ PFR_SubGlyphRec
 
typedef struct PFR_SubGlyphRec_PFR_SubGlyph
 
typedef enum PFR_SubgGlyphFlags_ PFR_SubGlyphFlags
 
typedef struct PFR_GlyphRec_ PFR_GlyphRec
 
typedef struct PFR_GlyphRec_PFR_Glyph
 

Enumerations

enum  PFR_HeaderFlags_ { PFR_FLAG_BLACK_PIXEL = 1, PFR_FLAG_INVERT_BITMAP = 2 }
 
enum  PFR_LogFlags_ {
  PFR_LOG_EXTRA_ITEMS = 0x40, PFR_LOG_2BYTE_BOLD = 0x20, PFR_LOG_BOLD = 0x10, PFR_LOG_2BYTE_STROKE = 8,
  PFR_LOG_STROKE = 4, PFR_LINE_JOIN_MASK = 3
}
 
enum  PFR_LineJoinFlags_ { PFR_LINE_JOIN_MITER = 0, PFR_LINE_JOIN_ROUND = 1, PFR_LINE_JOIN_BEVEL = 2 }
 
enum  PFR_BitmapFlags_ { PFR_BITMAP_3BYTE_OFFSET = 4, PFR_BITMAP_2BYTE_SIZE = 2, PFR_BITMAP_2BYTE_CHARCODE = 1 }
 
enum  PFR_StrikeFlags_ {
  PFR_STRIKE_2BYTE_COUNT = 0x10, PFR_STRIKE_3BYTE_OFFSET = 0x08, PFR_STRIKE_3BYTE_SIZE = 0x04, PFR_STRIKE_2BYTE_YPPM = 0x02,
  PFR_STRIKE_2BYTE_XPPM = 0x01
}
 
enum  PFR_PhyFlags_ {
  PFR_PHY_EXTRA_ITEMS = 0x80, PFR_PHY_3BYTE_GPS_OFFSET = 0x20, PFR_PHY_2BYTE_GPS_SIZE = 0x10, PFR_PHY_ASCII_CODE = 0x08,
  PFR_PHY_PROPORTIONAL = 0x04, PFR_PHY_2BYTE_CHARCODE = 0x02, PFR_PHY_VERTICAL = 0x01
}
 
enum  PFR_KernFlags_ { PFR_KERN_2BYTE_CHAR = 0x01, PFR_KERN_2BYTE_ADJ = 0x02 }
 
enum  PFR_GlyphFlags_ {
  PFR_GLYPH_IS_COMPOUND = 0x80, PFR_GLYPH_EXTRA_ITEMS = 0x08, PFR_GLYPH_1BYTE_XYCOUNT = 0x04, PFR_GLYPH_XCOUNT = 0x02,
  PFR_GLYPH_YCOUNT = 0x01
}
 
enum  PFR_SubgGlyphFlags_ { PFR_SUBGLYPH_3BYTE_OFFSET = 0x80, PFR_SUBGLYPH_2BYTE_SIZE = 0x40, PFR_SUBGLYPH_YSCALE = 0x20, PFR_SUBGLYPH_XSCALE = 0x10 }
 

Macro Definition Documentation

◆ PFR_KERN_INDEX

#define PFR_KERN_INDEX (   g1,
  g2 
)    ( ( (FT_UInt32)(g1) << 16 ) | (FT_UInt16)(g2) )

Definition at line 210 of file pfrtypes.h.

Referenced by pfr_extra_item_load_kerning_pairs(), and pfr_face_get_kerning().

◆ PFR_KERN_PAIR_INDEX

#define PFR_KERN_PAIR_INDEX (   pair)    PFR_KERN_INDEX( (pair)->glyph1, (pair)->glyph2 )

Definition at line 213 of file pfrtypes.h.

◆ PFR_NEXT_KPAIR

#define PFR_NEXT_KPAIR (   p)
Value:
( p += 2, \
( (FT_UInt32)p[-2] << 16 ) | p[-1] )
GLfloat GLfloat p
unsigned int FT_UInt32
Definition: ftconfig.h:133

Definition at line 216 of file pfrtypes.h.

Referenced by pfr_face_get_kerning().

Typedef Documentation

◆ PFR_BitmapChar

◆ PFR_BitmapCharRec

◆ PFR_BitmapFlags

◆ PFR_Char

typedef struct PFR_CharRec_ * PFR_Char

◆ PFR_CharRec

typedef struct PFR_CharRec_ PFR_CharRec

◆ PFR_Coord

typedef struct PFR_CoordRec_ * PFR_Coord

◆ PFR_CoordRec

typedef struct PFR_CoordRec_ PFR_CoordRec

◆ PFR_Dimension

typedef struct PFR_DimensionRec_ * PFR_Dimension

◆ PFR_DimensionRec

◆ PFR_Glyph

typedef struct PFR_GlyphRec_ * PFR_Glyph

◆ PFR_GlyphFlags

◆ PFR_GlyphRec

typedef struct PFR_GlyphRec_ PFR_GlyphRec

◆ PFR_Header

◆ PFR_HeaderFlags

◆ PFR_HeaderRec

◆ PFR_KernFlags

◆ PFR_KernItem

typedef struct PFR_KernItemRec_* PFR_KernItem

Definition at line 194 of file pfrtypes.h.

◆ PFR_KernItemRec

◆ PFR_LineJoinFlags

◆ PFR_LogFlags

◆ PFR_LogFont

typedef struct PFR_LogFontRec_ * PFR_LogFont

◆ PFR_LogFontRec

◆ PFR_PhyFlags

◆ PFR_PhyFont

typedef struct PFR_PhyFontRec_ * PFR_PhyFont

◆ PFR_PhyFontRec

◆ PFR_Strike

typedef struct PFR_StrikeRec_ * PFR_Strike

◆ PFR_StrikeFlags

◆ PFR_StrikeRec

typedef struct PFR_StrikeRec_ PFR_StrikeRec

◆ PFR_SubGlyph

typedef struct PFR_SubGlyphRec_ * PFR_SubGlyph

◆ PFR_SubGlyphFlags

◆ PFR_SubGlyphRec

Enumeration Type Documentation

◆ PFR_BitmapFlags_

Enumerator
PFR_BITMAP_3BYTE_OFFSET 
PFR_BITMAP_2BYTE_SIZE 
PFR_BITMAP_2BYTE_CHARCODE 

Definition at line 122 of file pfrtypes.h.

◆ PFR_GlyphFlags_

Enumerator
PFR_GLYPH_IS_COMPOUND 
PFR_GLYPH_EXTRA_ITEMS 
PFR_GLYPH_1BYTE_XYCOUNT 
PFR_GLYPH_XCOUNT 
PFR_GLYPH_YCOUNT 

Definition at line 292 of file pfrtypes.h.

◆ PFR_HeaderFlags_

Enumerator
PFR_FLAG_BLACK_PIXEL 
PFR_FLAG_INVERT_BITMAP 

Definition at line 72 of file pfrtypes.h.

◆ PFR_KernFlags_

Enumerator
PFR_KERN_2BYTE_CHAR 
PFR_KERN_2BYTE_ADJ 

Definition at line 282 of file pfrtypes.h.

◆ PFR_LineJoinFlags_

Enumerator
PFR_LINE_JOIN_MITER 
PFR_LINE_JOIN_ROUND 
PFR_LINE_JOIN_BEVEL 

Definition at line 111 of file pfrtypes.h.

◆ PFR_LogFlags_

Enumerator
PFR_LOG_EXTRA_ITEMS 
PFR_LOG_2BYTE_BOLD 
PFR_LOG_BOLD 
PFR_LOG_2BYTE_STROKE 
PFR_LOG_STROKE 
PFR_LINE_JOIN_MASK 

Definition at line 99 of file pfrtypes.h.

◆ PFR_PhyFlags_

Enumerator
PFR_PHY_EXTRA_ITEMS 
PFR_PHY_3BYTE_GPS_OFFSET 
PFR_PHY_2BYTE_GPS_SIZE 
PFR_PHY_ASCII_CODE 
PFR_PHY_PROPORTIONAL 
PFR_PHY_2BYTE_CHARCODE 
PFR_PHY_VERTICAL 

Definition at line 269 of file pfrtypes.h.

◆ PFR_StrikeFlags_

Enumerator
PFR_STRIKE_2BYTE_COUNT 
PFR_STRIKE_3BYTE_OFFSET 
PFR_STRIKE_3BYTE_SIZE 
PFR_STRIKE_2BYTE_YPPM 
PFR_STRIKE_2BYTE_XPPM 

Definition at line 140 of file pfrtypes.h.

◆ PFR_SubgGlyphFlags_

Enumerator
PFR_SUBGLYPH_3BYTE_OFFSET 
PFR_SUBGLYPH_2BYTE_SIZE 
PFR_SUBGLYPH_YSCALE 
PFR_SUBGLYPH_XSCALE 

Definition at line 324 of file pfrtypes.h.