brutally murdered padding and predefined glyph loading

--HG--
branch : newfont
This commit is contained in:
Bill Meltsner
2011-03-05 23:37:36 -05:00
parent 94b4319878
commit 9d38cba626
6 changed files with 7 additions and 124 deletions
-30
View File
@@ -112,33 +112,6 @@ namespace font
**/
Format getFormat() const;
/**
* Returns the closest number to num which is a power of two.
*
* @param num The number to be 2powered.
**/
inline int next_p2(int num) const;
/**
* Pads the data to fit into a power-of-2 texture.
**/
void pad();
/**
* Returns whether the data has been padded.
**/
bool isPadded() const;
/**
* Returns the padded width.
**/
int getPaddedWidth() const;
/**
* Returns the padded height.
**/
int getPaddedHeight() const;
private:
// The glyph itself
unsigned short glyph;
@@ -151,9 +124,6 @@ namespace font
// The format the data's in
Format format;
// Padded?
bool padded;
}; // GlyphData