Blender
V5.3
source
blender
blenfont
BLF_enums.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2025 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#include "
BLI_enum_flags.hh
"
12
13
namespace
blender
{
14
15
enum class
FontShadowType
{
16
None = 0,
17
Blur3x3
= 3,
18
Blur5x5
= 5,
19
Outline
= 6,
20
};
21
22
enum class
BLFWrapMode
:
int
{
24
Minimal
= 0,
26
Typographical
= 1 << 0,
28
Path
= 1 << 1,
30
HardLimit
= 1 << 2,
31
};
32
ENUM_OPERATORS
(
BLFWrapMode
);
33
34
enum
FontFlags
{
35
BLF_NONE
= 0,
36
BLF_ROTATION
= 1 << 0,
37
BLF_CLIPPING
= 1 << 1,
38
BLF_SHADOW
= 1 << 2,
39
// BLF_FLAG_UNUSED_3 = 1 << 3, /* dirty */
40
// BLF_MATRIX = 1 << 4,
41
BLF_ASPECT
= 1 << 5,
42
BLF_WORD_WRAP
= 1 << 6,
44
BLF_MONOCHROME
= 1 << 7,
45
BLF_HINTING_NONE
= 1 << 8,
46
BLF_HINTING_SLIGHT
= 1 << 9,
47
BLF_HINTING_FULL
= 1 << 10,
48
BLF_BOLD
= 1 << 11,
49
BLF_ITALIC
= 1 << 12,
51
BLF_MONOSPACED
= 1 << 13,
53
BLF_DEFAULT
= 1 << 14,
55
BLF_LAST_RESORT
= 1 << 15,
57
BLF_BAD_FONT
= 1 << 16,
63
BLF_RENDER_SUBPIXELAA
= 1 << 18,
64
66
BLF_NO_FALLBACK
= 1 << 19,
67
};
68
ENUM_OPERATORS
(
FontFlags
);
69
70
}
// namespace blender
BLI_enum_flags.hh
blender::draw::overlay::Outline
Definition
overlay_outline.hh:24
blender::animrig::ENUM_OPERATORS
ENUM_OPERATORS(Layer::Flags)
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::FontShadowType
FontShadowType
Definition
BLF_enums.hh:15
blender::FontShadowType::Blur5x5
@ Blur5x5
Definition
BLF_enums.hh:18
blender::FontShadowType::Blur3x3
@ Blur3x3
Definition
BLF_enums.hh:17
blender::BLFWrapMode
BLFWrapMode
Definition
BLF_enums.hh:22
blender::BLFWrapMode::HardLimit
@ HardLimit
Definition
BLF_enums.hh:30
blender::BLFWrapMode::Minimal
@ Minimal
Definition
BLF_enums.hh:24
blender::BLFWrapMode::Typographical
@ Typographical
Definition
BLF_enums.hh:26
blender::BLFWrapMode::Path
@ Path
Definition
BLF_enums.hh:28
blender::FontFlags
FontFlags
Definition
BLF_enums.hh:34
blender::BLF_MONOCHROME
@ BLF_MONOCHROME
Definition
BLF_enums.hh:44
blender::BLF_DEFAULT
@ BLF_DEFAULT
Definition
BLF_enums.hh:53
blender::BLF_RENDER_SUBPIXELAA
@ BLF_RENDER_SUBPIXELAA
Definition
BLF_enums.hh:63
blender::BLF_SHADOW
@ BLF_SHADOW
Definition
BLF_enums.hh:38
blender::BLF_ASPECT
@ BLF_ASPECT
Definition
BLF_enums.hh:41
blender::BLF_BOLD
@ BLF_BOLD
Definition
BLF_enums.hh:48
blender::BLF_CLIPPING
@ BLF_CLIPPING
Definition
BLF_enums.hh:37
blender::BLF_LAST_RESORT
@ BLF_LAST_RESORT
Definition
BLF_enums.hh:55
blender::BLF_ROTATION
@ BLF_ROTATION
Definition
BLF_enums.hh:36
blender::BLF_HINTING_SLIGHT
@ BLF_HINTING_SLIGHT
Definition
BLF_enums.hh:46
blender::BLF_BAD_FONT
@ BLF_BAD_FONT
Definition
BLF_enums.hh:57
blender::BLF_NO_FALLBACK
@ BLF_NO_FALLBACK
Definition
BLF_enums.hh:66
blender::BLF_HINTING_FULL
@ BLF_HINTING_FULL
Definition
BLF_enums.hh:47
blender::BLF_NONE
@ BLF_NONE
Definition
BLF_enums.hh:35
blender::BLF_WORD_WRAP
@ BLF_WORD_WRAP
Definition
BLF_enums.hh:42
blender::BLF_MONOSPACED
@ BLF_MONOSPACED
Definition
BLF_enums.hh:51
blender::BLF_ITALIC
@ BLF_ITALIC
Definition
BLF_enums.hh:49
blender::BLF_HINTING_NONE
@ BLF_HINTING_NONE
Definition
BLF_enums.hh:45
Generated on
for Blender by
doxygen
1.18.0