Add FontResolver
This commit is contained in:
19
openVulkanoCpp/Host/FontResolver.hpp
Normal file
19
openVulkanoCpp/Host/FontResolver.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Data/Containers/Array.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace OpenVulkano
|
||||
{
|
||||
class FontResolver final
|
||||
{
|
||||
public:
|
||||
[[nodiscard]] static Array<char> GetFontData(const std::string& fontName, bool checkSystemFonts = true);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user