示例#1
0
            public GlyphCache CacheGlyph(int glyph_code,
                                         int glyph_index,
                                         SimpleFont.GlyphDataType data_type,
                                         Rect bounds,
                                         double advance_x,
                                         double advance_y)
            {
                if (m_CurrentFont != null)
                {
                    return(m_CurrentFont.CacheGlyph(glyph_code,
                                                    glyph_index,
                                                    data_type,
                                                    bounds,
                                                    advance_x,
                                                    advance_y));
                }

                return(null);
            }