Glyph.h 487 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef GLYPH_H_
  2. #define GLYPH_H_
  3. #include "Object.h"
  4. namespace gameplay
  5. {
  6. class Glyph : public Object
  7. {
  8. public:
  9. /**
  10. * Constructor.
  11. */
  12. Glyph(void);
  13. /**
  14. * Destructor.
  15. */
  16. virtual ~Glyph(void);
  17. virtual const char* getElementName(void) const;
  18. virtual void writeBinary(FILE* file);
  19. virtual void writeText(FILE* file);
  20. unsigned int index;
  21. unsigned int width;
  22. float uvCoords[4];
  23. };
  24. }
  25. #endif