TrueType font interface. More...
#include <kanzi/core/cpp/memory.hpp>
#include <kanzi/core/cpp/cstddef.hpp>
#include <kanzi/core/legacy/debug/kzs_error.hpp>
#include <kanzi/core/legacy/kzs_types.hpp>
Namespaces | |
kanzi | |
Functions | |
kzsError | kzuTruetypeSystemDelete (struct KzuTruetypeSystem *truetypeSystem) |
Deletes a TrueType font system. More... | |
kzsError | kzuTruetypeSystemCreateFont (const struct KzcMemoryManager *memoryManager, struct KzuTruetypeSystem *truetypeSystem, kzString name, struct KzuFont **out_font) |
Creates a TrueType font using the given TrueType font system. More... | |
kzsError | kzuTruetypeSystemCreateFontFromFile (const struct KzcMemoryManager *memoryManager, struct KzuTruetypeSystem *truetypeSystem, kzString filePath, struct KzuFont **out_font) |
Creates a TrueType font from file using the given TrueType font system. More... | |
kzsError | kzuTruetypeSystemCreateFontFromMemory (const struct KzcMemoryManager *memoryManager, struct KzuTruetypeSystem *truetypeSystem, const kanzi::byte *data, kzUint size, kanzi::string_view name, struct KzuFont **out_font) |
Creates a TrueType font from memory using the given TrueType font system. More... | |
void | kzuTruetypeSystemSetShader (struct KzuTruetypeSystem *truetypeSystem, kanzi::ShaderProgramSharedPtr shader) |
Sets shader for Truetype system. More... | |
TrueType font interface.
Copyright 2008-2017 by Rightware. All rights reserved.
kzsError kzuTruetypeSystemDelete | ( | struct KzuTruetypeSystem * | truetypeSystem | ) |
Deletes a TrueType font system.
kzsError kzuTruetypeSystemCreateFont | ( | const struct KzcMemoryManager * | memoryManager, |
struct KzuTruetypeSystem * | truetypeSystem, | ||
kzString | name, | ||
struct KzuFont ** | out_font | ||
) |
Creates a TrueType font using the given TrueType font system.
kzsError kzuTruetypeSystemCreateFontFromFile | ( | const struct KzcMemoryManager * | memoryManager, |
struct KzuTruetypeSystem * | truetypeSystem, | ||
kzString | filePath, | ||
struct KzuFont ** | out_font | ||
) |
Creates a TrueType font from file using the given TrueType font system.
kzsError kzuTruetypeSystemCreateFontFromMemory | ( | const struct KzcMemoryManager * | memoryManager, |
struct KzuTruetypeSystem * | truetypeSystem, | ||
const kanzi::byte * | data, | ||
kzUint | size, | ||
kanzi::string_view | name, | ||
struct KzuFont ** | out_font | ||
) |
Creates a TrueType font from memory using the given TrueType font system.
void kzuTruetypeSystemSetShader | ( | struct KzuTruetypeSystem * | truetypeSystem, |
kanzi::ShaderProgramSharedPtr | shader | ||
) |
Sets shader for Truetype system.