のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

GlyphPage

     71 class GlyphPage : public RefCounted<GlyphPage> {
     72 public:
     78     static const size_t size = 256; // Covers Latin-1 in a single page.
     79 
    136 private:
    143     Glyph m_glyphs[size];
    144     const SimpleFontData* m_glyphFontData[size];
    145 
    146     GlyphPageTreeNode* m_owner;
    147 };
    148 
    169 class GlyphPageTreeNode {
    170 public:
    218 
    219 private:
    227     GlyphPageTreeNode* m_parent;
    228     RefPtr<GlyphPage> m_page;
    229     unsigned m_level : 31;
    230     bool m_isSystemFallback : 1;
    231     unsigned m_customFontCount;
    232     HashMap<const FontData*, GlyphPageTreeNode*> m_children;
    233     GlyphPageTreeNode* m_systemFallbackChild;
    234 
    235 #ifndef NDEBUG
    236     unsigned m_pageNumber;
    237 
    238     friend void ::showGlyphPageTree(unsigned pageNumber);
    239 #endif
    240 };