|
Blender V5.3
|
#include <atomic>#include <cmath>#include "DNA_vec_types.h"#include "BLF_api.hh"#include "BLI_enum_flags.hh"#include "BLI_map.hh"#include "BLI_mutex.hh"#include "BLI_vector.hh"#include "GPU_shader_shared.hh"#include "GPU_storage_buffer.hh"#include "GPU_texture.hh"#include <ft2build.h>Go to the source code of this file.
Classes | |
| struct | blender::BatchBLF |
| struct | blender::KerningCacheBLF |
| struct | blender::GlyphCacheKey |
| struct | blender::GlyphCacheBLF |
| struct | blender::GlyphBLF |
| struct | blender::FontBufInfoBLF |
| struct | blender::FontMetrics |
| struct | blender::FontBLF |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::gpu |
| namespace | blender::ocio |
Macros | |
| #define | BLF_VARIATIONS_MAX 16 |
| #define | MAKE_DVAR_TAG(a, b, c, d) |
| #define | BLF_VARIATION_AXIS_WEIGHT MAKE_DVAR_TAG('w', 'g', 'h', 't') |
| #define | BLF_VARIATION_AXIS_SLANT MAKE_DVAR_TAG('s', 'l', 'n', 't') |
| #define | BLF_VARIATION_AXIS_WIDTH MAKE_DVAR_TAG('w', 'd', 't', 'h') |
| #define | BLF_VARIATION_AXIS_SPACING MAKE_DVAR_TAG('s', 'p', 'a', 'c') |
| #define | BLF_VARIATION_AXIS_OPTSIZE MAKE_DVAR_TAG('o', 'p', 's', 'z') |
| #define | BLF_BATCH_DRAW_LEN_MAX 128 |
| #define | KERNING_CACHE_TABLE_SIZE 128 |
| #define | KERNING_ENTRY_UNSET INT_MAX |
Enumerations | |
| enum class | blender::GlyphFlagBLF : uint8_t { blender::None = 0 , blender::Combining = (1 << 0) } |
Functions | |
| blender::ENUM_OPERATORS (GlyphFlagBLF) | |
Sub-Pixel Offset & Utilities | |
Free-type uses fixed point precision for sub-pixel offsets. Utility functions here avoid exposing the details in the BLF API. | |
| #define | FT_PIX_FLOOR(x) |
| #define | FT_PIX_ROUND(x) |
| #define | FT_PIX_CEIL(x) |
| using | blender::ft_pix = int32_t |
| int | blender::ft_pix_to_int (ft_pix v) |
| int | blender::ft_pix_to_int_floor (ft_pix v) |
| int | blender::ft_pix_to_int_ceil (ft_pix v) |
| ft_pix | blender::ft_pix_from_int (int v) |
| ft_pix | blender::ft_pix_from_float (float v) |
| #define BLF_BATCH_DRAW_LEN_MAX 128 |
Definition at line 106 of file blf_internal_types.hh.
Referenced by blender::blf_texture_draw().
| #define BLF_VARIATION_AXIS_OPTSIZE MAKE_DVAR_TAG('o', 'p', 's', 'z') |
Definition at line 58 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_set_variation_optical_size().
| #define BLF_VARIATION_AXIS_SLANT MAKE_DVAR_TAG('s', 'l', 'n', 't') |
Definition at line 55 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_set_variation_slant().
| #define BLF_VARIATION_AXIS_SPACING MAKE_DVAR_TAG('s', 'p', 'a', 'c') |
Definition at line 57 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_set_variation_spacing().
| #define BLF_VARIATION_AXIS_WEIGHT MAKE_DVAR_TAG('w', 'g', 'h', 't') |
Definition at line 54 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_set_variation_weight(), and blender::BLF_has_variable_weight().
| #define BLF_VARIATION_AXIS_WIDTH MAKE_DVAR_TAG('w', 'd', 't', 'h') |
Definition at line 56 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_set_variation_width().
| #define BLF_VARIATIONS_MAX 16 |
Maximum variation axes per font.
Definition at line 49 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_render(), blender::blf_glyph_set_variation_float(), and blender::blf_glyph_set_variation_normalized().
| #define FT_PIX_CEIL | ( | x | ) |
Definition at line 77 of file blf_internal_types.hh.
Referenced by blender::ft_pix_to_int_ceil().
| #define FT_PIX_FLOOR | ( | x | ) |
Definition at line 75 of file blf_internal_types.hh.
| #define FT_PIX_ROUND | ( | x | ) |
Definition at line 76 of file blf_internal_types.hh.
Referenced by blender::blf_font_width_to_strlen_glyph_process(), and blender::blf_glyph_from_utf8_and_step().
| #define KERNING_CACHE_TABLE_SIZE 128 |
Number of characters in #KerningCacheBLF.table.
Definition at line 109 of file blf_internal_types.hh.
Referenced by blender::blf_kerning(), and blender::blf_setup_face().
| #define KERNING_ENTRY_UNSET INT_MAX |
A value in the kerning cache that indicates it is not yet set.
Definition at line 112 of file blf_internal_types.hh.
Referenced by blender::blf_kerning(), and blender::blf_setup_face().
| #define MAKE_DVAR_TAG | ( | a, | |
| b, | |||
| c, | |||
| d ) |
Definition at line 51 of file blf_internal_types.hh.