Blender
V5.3
source
blender
makesdna
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
16
namespace
blender
{
17
18
struct
PackedFile
;
19
struct
VFontData
;
20
21
struct
VFont
{
22
#ifdef __cplusplus
24
static
constexpr
ID_Type
id_type =
ID_VF
;
25
#endif
26
27
ID
id
;
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
DNA_ID.h
ID and Library types, which are fundamental for SDNA.
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::ID_Type
ID_Type
Definition
DNA_ID_enums.h:136
blender::ID_VF
@ ID_VF
Definition
DNA_ID_enums.h:152
blender::ID
Definition
DNA_ID.h:415
blender::PackedFile
Definition
DNA_packedFile_types.h:15
blender::VFontData
Definition
BKE_vfontdata.hh:46
blender::VFont
Definition
DNA_vfont_types.h:21
blender::VFont::packedfile
struct PackedFile * packedfile
Definition
DNA_vfont_types.h:32
blender::VFont::filepath
char filepath[1024]
Definition
DNA_vfont_types.h:29
blender::VFont::temp_pf
struct PackedFile * temp_pf
Definition
DNA_vfont_types.h:36
blender::VFont::data
struct VFontData * data
Definition
DNA_vfont_types.h:31
blender::VFont::id
ID id
Definition
DNA_vfont_types.h:27
Generated on
for Blender by
doxygen
1.18.0