src/gui/painting/qtextureglyphcache_p.h
changeset 29 b72c6db6890b
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
25:e24348a560a6 29:b72c6db6890b
    95                   const QVarLengthArray<QFixedPoint> &positions);
    95                   const QVarLengthArray<QFixedPoint> &positions);
    96 
    96 
    97     virtual void createTextureData(int width, int height) = 0;
    97     virtual void createTextureData(int width, int height) = 0;
    98     virtual void resizeTextureData(int width, int height) = 0;
    98     virtual void resizeTextureData(int width, int height) = 0;
    99     virtual int glyphMargin() const { return 0; }
    99     virtual int glyphMargin() const { return 0; }
       
   100     virtual int glyphPadding() const { return 0; }
   100 
   101 
   101     virtual void fillTexture(const Coord &coord, glyph_t glyph) = 0;
   102     virtual void fillTexture(const Coord &coord, glyph_t glyph) = 0;
   102 
   103 
   103     inline void createCache(int width, int height) {
   104     inline void createCache(int width, int height) {
   104         m_w = width;
   105         m_w = width;