X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=include%2FGL%2Ffreeglut_internal.h;h=8c46ee0433ef77cbb268e5642b01eeb912a28bb5;hb=3ee42232404c505950f2d616a983a304582e15a7;hp=f5bb1af4cb1fb317da917946a2209ccdcca521e9;hpb=d51f09af4edcc7bfd0f1913a917ae405d302227e;p=freeglut diff --git a/include/GL/freeglut_internal.h b/include/GL/freeglut_internal.h index f5bb1af..8c46ee0 100644 --- a/include/GL/freeglut_internal.h +++ b/include/GL/freeglut_internal.h @@ -443,6 +443,39 @@ struct tagSFG_Font const GLubyte** Characters; /* The characters mapping */ }; +/* + * The stroke font structures + */ + +typedef struct tagSFG_StrokeVertex SFG_StrokeVertex; +struct tagSFG_StrokeVertex +{ + GLfloat X, Y; +}; + +typedef struct tagSFG_StrokeStrip SFG_StrokeStrip; +struct tagSFG_StrokeStrip +{ + int Number; + const SFG_StrokeVertex* Vertices; +}; + +typedef struct tagSFG_StrokeChar SFG_StrokeChar; +struct tagSFG_StrokeChar +{ + GLfloat Right; + int Number; + const SFG_StrokeStrip* Strips; +}; + +typedef struct tagSFG_StrokeFont SFG_StrokeFont; +struct tagSFG_StrokeFont +{ + char* Name; /* The source font name */ + int Quantity; /* Number of chars in font */ + GLfloat Height; /* Height of the characters */ + const SFG_StrokeChar** Characters; /* The characters mapping */ +}; /* -- GLOBAL VARIABLES EXPORTS --------------------------------------------- */