Blender
V5.0
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
struct
PackedFile
;
17
struct
VFontData
;
18
19
typedef
struct
VFont
{
20
#ifdef __cplusplus
22
static
constexpr
ID_Type
id_type =
ID_VF
;
23
#endif
24
25
ID
id
;
26
27
char
filepath
[
/*FILE_MAX*/
1024];
28
29
struct
VFontData
*
data
;
30
struct
PackedFile
*
packedfile
;
31
32
/* runtime only, holds memory for freetype to read from
33
* TODO: replace this with #blf_font_new() style loading. */
34
struct
PackedFile
*
temp_pf
;
35
}
VFont
;
36
37
#define FO_BUILTIN_NAME "<builtin>"
DNA_ID.h
ID and Library types, which are fundamental for SDNA.
ID_Type
ID_Type
Definition
DNA_ID_enums.h:116
ID_VF
@ ID_VF
Definition
DNA_ID_enums.h:132
ID
Definition
DNA_ID.h:414
PackedFile
Definition
DNA_packedFile_types.h:13
VFontData
Definition
BKE_vfontdata.hh:40
VFont
Definition
DNA_vfont_types.h:19
VFont::data
struct VFontData * data
Definition
DNA_vfont_types.h:29
VFont::id
ID id
Definition
DNA_vfont_types.h:25
VFont::filepath
char filepath[1024]
Definition
DNA_vfont_types.h:27
VFont::temp_pf
struct PackedFile * temp_pf
Definition
DNA_vfont_types.h:34
VFont::packedfile
struct PackedFile * packedfile
Definition
DNA_vfont_types.h:30
Generated on
for Blender by
doxygen
1.16.1