Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
893 B

  1. // glyph.h
  2. #ifndef __INCLUDE_GLYPH
  3. #define __INCLUDE_GLYPH
  4. #ifdef __cplusplus
  5. extern "C"
  6. {
  7. #endif
  8. #include "frame.h"
  9. typedef struct tagGLYPH GLYPH;
  10. typedef struct tagGLYPH
  11. {
  12. FRAME *frame;
  13. GLYPH *next;
  14. } GLYPH;
  15. GLYPH *NewGLYPH(void);
  16. void DestroyGLYPH(GLYPH *self);
  17. void DestroyFramesGLYPH(GLYPH *self);
  18. int CframeGLYPH(GLYPH * self);
  19. FRAME *FrameAtGLYPH(GLYPH * self, int iframe);
  20. void GetRectGLYPH(GLYPH * self, LPRECT rect);
  21. BOOL AddFrameGLYPH(GLYPH * self, FRAME * frame);
  22. GLYPH *MergeGlyphGLYPH(GLYPH * self, GLYPH * merge);
  23. GLYPH *GlyphFromHpendata(HPENDATA hpendata);
  24. XY *SaveRawxyGLYPH(GLYPH *self);
  25. void RestoreRawxyGLYPH(GLYPH *self, XY *xy);
  26. void TranslateGlyph (GLYPH *pGlyph, int dx, int dy);
  27. void TranslateGuide (GUIDE *pGuide, int dx, int dy);
  28. #define GlyphCopyGLYPH(self) MergeGlyphGLYPH(self, 0)
  29. #ifdef __cplusplus
  30. };
  31. #endif
  32. #endif //__INCLUDE_GLYPH