23 #include "environment.h" 27 #include "pedigree/native/graphics/Graphics.h" 31 #include <cairo/cairo.h> 37 cairo_t *pCairo,
size_t requestedSize,
const char *pFilename,
38 bool bCache,
size_t nWidth);
41 virtual size_t render(
43 uint32_t f, uint32_t b,
bool bBack =
true,
bool bBold =
false,
44 bool bItalic =
false,
bool bUnderline =
false);
46 virtual size_t render(
47 const char *s,
size_t x,
size_t y, uint32_t f, uint32_t b,
48 bool bBack =
true,
bool bBold =
false,
bool bItalic =
false,
49 bool bUnderline =
false);
64 const char *precache(uint32_t c);
66 void updateCairo(cairo_t *pCairo);
76 std::map<uint32_t, char *> m_ConversionCache;
Font(cairo_t *pCairo, size_t requestedSize, const char *pFilename, bool bCache, size_t nWidth)