Lines Matching refs:font_cache
48 //--------------------------------------------------------------font_cache
49 class font_cache
55 font_cache() :
142 obj_allocator<font_cache>::deallocate(m_fonts[i]);
144 pod_allocator<font_cache*>::deallocate(m_fonts, m_max_fonts);
149 m_fonts(pod_allocator<font_cache*>::allocate(max_fonts)),
164 obj_allocator<font_cache>::deallocate(m_fonts[idx]);
165 m_fonts[idx] = obj_allocator<font_cache>::allocate();
174 obj_allocator<font_cache>::deallocate(m_fonts[0]);
177 (m_max_fonts - 1) * sizeof(font_cache*));
180 m_fonts[m_num_fonts] = obj_allocator<font_cache>::allocate();
188 const font_cache* font() const
235 font_cache** m_fonts;
238 font_cache* m_cur_font;