| 123456789101112131415161718192021222324252627282930 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsCorePrerequisites.h"
- #include "BsModule.h"
- namespace BansheeEngine
- {
- /** @addtogroup Text-Internal
- * @{
- */
- /** Handles creation of fonts. */
- class BS_CORE_EXPORT FontManager : public Module<FontManager>
- {
- public:
- /** Creates a new font from the provided populated font data structure. */
- SPtr<Font> create(const Vector<SPtr<FontBitmap>>& fontData) const;
- /**
- * Creates an empty font.
- *
- * @note Internal method. Used by factory methods.
- */
- SPtr<Font> _createEmpty() const;
- };
- /** @} */
- }
|