ref: c8e83c81d910049123621d766bc837abc9103145
dir: /otf.h.in/
/* this file is generated. do not modify. */
typedef struct Otf Otf;
#pragma incomplete Otf
typedef struct ComponentGlyph ComponentGlyph;
enum {
CGLYPH_FL_WORD_ARGS = 1<<0,
CGLYPH_FL_SIGNED_XY = 1<<1,
CGLYPH_FL_ROUND_TO_GRID_XY = 1<<2,
CGLYPH_FL_SCALE = 1<<3,
CGLYPH_FL_MORE_COMPONENTS = 1<<5,
CGLYPH_FL_SCALE_XY = 1<<6,
CGLYPH_FL_2X2_TRANSFORM = 1<<7,
CGLYPH_FL_INSTRUCTIONS = 1<<8,
CGLYPH_FL_METRICS = 1<<9,
CGLYPH_FL_OVERLAP_COMPOUND = 1<<10,
CGLYPH_FL_SCALED_COMPONENT_OFFSET = 1<<11,
CGLYPH_FL_UNSCALED_COMPONENT_OFFSET = 1<<12,
};
struct ComponentGlyph {
u16int flags;
u16int glyphIndex;
union {
u8int u8;
s8int s8;
u16int u16;
s16int s16;
}arg1, arg2;
float scale, scaleX, scale01, scale10, scaleY;
u16int numInstr;
u8int *instr;
ComponentGlyph *next;
};
typedef struct Point Point;
struct Point {
int x;
int y;
int onCurve;
};
typedef struct SimpleGlyph SimpleGlyph;
struct SimpleGlyph {
u16int *endPtsOfContours;
u16int instructionLength;
u8int *instructions;
int numPoints;
Point *points;
};
extern int indentΔ;
#pragma varargck type "T" s64int
#pragma varargck type "t" u32int
#pragma varargck type "V" u32int
void otfinit(void);
Otf *otfopen(char *path);
void otfclose(Otf *o);