Blender V5.0
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_utildefines.h"
12
13enum class FontShadowType {
14 None = 0,
18};
19
20enum class BLFWrapMode : int {
24 Typographical = 1 << 0,
26 Path = 1 << 1,
28 HardLimit = 1 << 2,
29};
30
33 BLF_ROTATION = 1 << 0,
34 BLF_CLIPPING = 1 << 1,
35 BLF_SHADOW = 1 << 2,
36 // BLF_FLAG_UNUSED_3 = 1 << 3, /* dirty */
37 // BLF_MATRIX = 1 << 4,
38 BLF_ASPECT = 1 << 5,
39 BLF_WORD_WRAP = 1 << 6,
45 BLF_BOLD = 1 << 11,
46 BLF_ITALIC = 1 << 12,
48 BLF_MONOSPACED = 1 << 13,
50 BLF_DEFAULT = 1 << 14,
52 BLF_LAST_RESORT = 1 << 15,
54 BLF_BAD_FONT = 1 << 16,
56 BLF_CACHED = 1 << 17,
63
65 BLF_NO_FALLBACK = 1 << 19,
66};
BLFWrapMode
Definition BLF_enums.hh:20
FontFlags
Definition BLF_enums.hh:31
@ BLF_RENDER_SUBPIXELAA
Definition BLF_enums.hh:62
@ BLF_ITALIC
Definition BLF_enums.hh:46
@ BLF_ROTATION
Definition BLF_enums.hh:33
@ BLF_HINTING_NONE
Definition BLF_enums.hh:42
@ BLF_NONE
Definition BLF_enums.hh:32
@ BLF_LAST_RESORT
Definition BLF_enums.hh:52
@ BLF_MONOSPACED
Definition BLF_enums.hh:48
@ BLF_CACHED
Definition BLF_enums.hh:56
@ BLF_WORD_WRAP
Definition BLF_enums.hh:39
@ BLF_MONOCHROME
Definition BLF_enums.hh:41
@ BLF_BOLD
Definition BLF_enums.hh:45
@ BLF_NO_FALLBACK
Definition BLF_enums.hh:65
@ BLF_BAD_FONT
Definition BLF_enums.hh:54
@ BLF_HINTING_FULL
Definition BLF_enums.hh:44
@ BLF_HINTING_SLIGHT
Definition BLF_enums.hh:43
@ BLF_ASPECT
Definition BLF_enums.hh:38
@ BLF_SHADOW
Definition BLF_enums.hh:35
@ BLF_CLIPPING
Definition BLF_enums.hh:34
@ BLF_DEFAULT
Definition BLF_enums.hh:50
FontShadowType
Definition BLF_enums.hh:13
#define ENUM_OPERATORS(_type, _max)