BsFontManager.h 512 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include "BsCorePrerequisites.h"
  3. #include "BsModule.h"
  4. namespace BansheeEngine
  5. {
  6. /**
  7. * @brief Handles creation of fonts.
  8. */
  9. class BS_CORE_EXPORT FontManager : public Module<FontManager>
  10. {
  11. public:
  12. /**
  13. * @brief Creates a new font from the provided populated font data structure.
  14. */
  15. FontPtr create(const Vector<FontData>& fontData) const;
  16. /**
  17. * @brief Creates an empty font.
  18. *
  19. * @note Internal method. Used by factory methods.
  20. */
  21. FontPtr _createEmpty() const;
  22. };
  23. }