ai_font.h
Go to the documentation of this file.
1// Copyright 2023 Autodesk, Inc. All rights reserved.
2//
3// Use of this software is subject to the terms of the Autodesk license
4// agreement provided at the time of installation or download, or which
5// otherwise accompanies this software in either electronic or hard copy form.
6
12#pragma once
13
14#include <ai_array.h>
15#include <ai_string.h>
16
34AI_API const AtArray* AiFontGetFamilies();
35
42AI_API const AtArray* AiFontGetStyles(const AtString family);
43
55AI_API AtString AiFontGetFilename(const AtString family, const AtString style);
56
57/*\}*/
Generic array data type and methods.
AtString class for fast comparisons.
Arnold String allows for fast string comparisons.
Definition: ai_string.h:54
AI_API AtString AiFontGetFilename(const AtString family, const AtString style)
Filename of a given font family and style.
Definition: ai_font.cpp:164
AI_API const AtArray * AiFontGetStyles(const AtString family)
Return available font styles of a given font family.
Definition: ai_font.cpp:159
AI_API const AtArray * AiFontGetFamilies()
Return available font families.
Definition: ai_font.cpp:154

© 2023 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com