git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix return
[enigma2.git]
/
lib
/
gdi
/
font.h
diff --git
a/lib/gdi/font.h
b/lib/gdi/font.h
index c55b8f46dee102245d6abd45702648baa1dae561..a38454d11bcda4ae80bf5141ba717dd00ef28d05 100644
(file)
--- a/
lib/gdi/font.h
+++ b/
lib/gdi/font.h
@@
-63,6
+63,8
@@
public:
#define GS_ISFIRST 2
#define GS_USED 4
#define GS_ISFIRST 2
#define GS_USED 4
+#define GS_INVERT 8
+
struct pGlyph
{
int x, y, w;
struct pGlyph
{
int x, y, w;
@@
-142,6
+144,20
@@
public:
assert(num < (int)glyphs.size());
return glyphs[num].bbox;
}
assert(num < (int)glyphs.size());
return glyphs[num].bbox;
}
+
+ void setGlyphFlag(int g, int f)
+ {
+ assert(g >= 0);
+ assert(g < (int)glyphs.size());
+ glyphs[g].flags |= f;
+ }
+
+ void clearGlyphFlag(int g, int f)
+ {
+ assert(g >= 0);
+ assert(g < (int)glyphs.size());
+ glyphs[g].flags |= f;
+ }
};
class Font: public iObject
};
class Font: public iObject