BsFontManager.h 863 B

1234567891011121314151617181920212223242526272829
  1. //__________________________ Banshee Project - A modern game development toolkit _________________________________//
  2. //_____________________________________ www.banshee-project.com __________________________________________________//
  3. //________________________ Copyright (c) 2014 Marko Pintera. All rights reserved. ________________________________//
  4. #pragma once
  5. #include "BsCorePrerequisites.h"
  6. #include "BsModule.h"
  7. namespace BansheeEngine
  8. {
  9. /**
  10. * @brief Handles creation of fonts.
  11. */
  12. class BS_CORE_EXPORT FontManager : public Module<FontManager>
  13. {
  14. public:
  15. /**
  16. * @brief Creates a new font from the provided populated font data structure.
  17. */
  18. FontPtr create(const Vector<FontData>& fontData) const;
  19. /**
  20. * @brief Creates an empty font.
  21. *
  22. * @note Internal method. Used by factory methods.
  23. */
  24. FontPtr _createEmpty() const;
  25. };
  26. }