Files
core/ASCOfficePDFReader/SGlyphBitmap.h

20 lines
888 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef _SGLYPH_BITMAP_H
#define _SGLYPH_BITMAP_H
//-------------------------------------------------------------------------------------------------------------------------------
// SGlyphBitmap
//-------------------------------------------------------------------------------------------------------------------------------
struct SGlyphBitmap
{
int nX; // Сдвиг по X начальной точки для рисования символа
int nY; // Сдвиг по Y начальной точки для рисования символа
int nWidth; // Ширина символа
int nHeight; // Высота символа
BOOL bAA; // Anti-aliased: True означает, что Bitmap 8-битный(т.е. с альфой); False - Bitmap 1-битный
unsigned char *pData; // Bitmap data(картинка с символом)
BOOL bFreeData; // True, если память в pData нужно освободить
};
#endif /* _SGLYPH_BITMAP_H */