windows-nt/Source/XPSP1/NT/drivers/tpg/hwx/commonu/inc/glyph.h
2020-09-26 16:20:57 +08:00

42 lines
893 B
C

// glyph.h
#ifndef __INCLUDE_GLYPH
#define __INCLUDE_GLYPH
#ifdef __cplusplus
extern "C"
{
#endif
#include "frame.h"
typedef struct tagGLYPH GLYPH;
typedef struct tagGLYPH
{
FRAME *frame;
GLYPH *next;
} GLYPH;
GLYPH *NewGLYPH(void);
void DestroyGLYPH(GLYPH *self);
void DestroyFramesGLYPH(GLYPH *self);
int CframeGLYPH(GLYPH * self);
FRAME *FrameAtGLYPH(GLYPH * self, int iframe);
void GetRectGLYPH(GLYPH * self, LPRECT rect);
BOOL AddFrameGLYPH(GLYPH * self, FRAME * frame);
GLYPH *MergeGlyphGLYPH(GLYPH * self, GLYPH * merge);
GLYPH *GlyphFromHpendata(HPENDATA hpendata);
XY *SaveRawxyGLYPH(GLYPH *self);
void RestoreRawxyGLYPH(GLYPH *self, XY *xy);
void TranslateGlyph (GLYPH *pGlyph, int dx, int dy);
void TranslateGuide (GUIDE *pGuide, int dx, int dy);
#define GlyphCopyGLYPH(self) MergeGlyphGLYPH(self, 0)
#ifdef __cplusplus
};
#endif
#endif //__INCLUDE_GLYPH