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.
 
 
 
 
 
 

46 lines
1.1 KiB

// 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);
BOOL TranslateGlyph (GLYPH *pGlyph, int dx, int dy);
BOOL TranslateGuide (GUIDE *pGuide, int dx, int dy);
GLYPH *CopyGlyph (GLYPH *pGlyph);
BOOL GuideNormalizeInk (GUIDE *pGuide, GLYPH *pGlyph);
BOOL NormalizeInk(GLYPH *pGlyph, int yDev);
BOOL CheckInkBounds (GLYPH *pGlyph, GUIDE *pGuide);
#define GlyphCopyGLYPH(self) MergeGlyphGLYPH(self, 0)
#ifdef __cplusplus
};
#endif
#endif //__INCLUDE_GLYPH