Blender V5.3
DNA_vfont_types.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
11
12#pragma once
13
14#include "DNA_ID.h"
15
16namespace blender {
17
18struct PackedFile;
19struct VFontData;
20
21struct VFont {
22#ifdef __cplusplus
24 static constexpr ID_Type id_type = ID_VF;
25#endif
26
28
29 char filepath[/*FILE_MAX*/ 1024] = "";
30
31 struct VFontData *data = nullptr;
32 struct PackedFile *packedfile = nullptr;
33
34 /* runtime only, holds memory for freetype to read from
35 * TODO: replace this with #blf_font_new() style loading. */
36 struct PackedFile *temp_pf = nullptr;
37};
38
39#define FO_BUILTIN_NAME "<builtin>"
40
41} // namespace blender
ID and Library types, which are fundamental for SDNA.
BMesh Iterators.
struct PackedFile * packedfile
char filepath[1024]
struct PackedFile * temp_pf
struct VFontData * data