|
Blender V5.3
|
#include <blf_internal_types.hh>
Public Member Functions | |
Glyph Access (Ensure/Free) | |
| ~GlyphBLF () | |
Public Attributes | |
| unsigned int | c |
| FT_UInt | idx |
| ft_pix | box_xmin |
| ft_pix | box_xmax |
| ft_pix | box_ymin |
| ft_pix | box_ymax |
| ft_pix | advance_x |
| uint8_t | subpixel |
| GlyphFlagBLF | flags |
| ft_pix | lsb_delta |
| ft_pix | rsb_delta |
| int | offset |
| unsigned char * | bitmap |
| int | dims [2] |
| int | pitch |
| int | num_channels |
| int | pos [2] |
| GlyphCacheBLF * | glyph_cache |
Definition at line 191 of file blf_internal_types.hh.
| blender::GlyphBLF::~GlyphBLF | ( | ) |
Definition at line 1451 of file blf_glyph.cc.
References bitmap.
| ft_pix blender::GlyphBLF::advance_x |
Definition at line 204 of file blf_internal_types.hh.
Referenced by blender::blf_font_glyph_advance(), blender::blf_font_info_foreach_glyph(), blender::blf_font_width_to_strlen_glyph_process(), and blender::blf_glyph_calc_rect_test().
| unsigned char* blender::GlyphBLF::bitmap |
Bitmap data, from freetype. Take care that this can be NULL.
Definition at line 219 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_draw(), blender::blf_glyph_draw_buffer(), blender::blf_svg_icon_bitmap(), and ~GlyphBLF().
| ft_pix blender::GlyphBLF::box_xmax |
Definition at line 200 of file blf_internal_types.hh.
| ft_pix blender::GlyphBLF::box_xmin |
Glyph bounding-box.
Definition at line 199 of file blf_internal_types.hh.
| ft_pix blender::GlyphBLF::box_ymax |
Definition at line 202 of file blf_internal_types.hh.
| ft_pix blender::GlyphBLF::box_ymin |
Definition at line 201 of file blf_internal_types.hh.
| unsigned int blender::GlyphBLF::c |
The character, as UTF32.
Definition at line 193 of file blf_internal_types.hh.
Referenced by blender::blf_font_draw_mono(), blender::blf_font_wrap_apply(), blender::blf_glyph_ensure_subpixel(), and blender::blf_kerning().
| int blender::GlyphBLF::dims[2] |
Glyph width and height.
Definition at line 222 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_calc_rect(), blender::blf_glyph_calc_rect_test(), blender::blf_glyph_draw(), blender::blf_glyph_draw_buffer(), blender::blf_glyph_ensure_subpixel(), blender::blf_svg_icon_bitmap(), and blender::blf_texture_draw().
| GlyphFlagBLF blender::GlyphBLF::flags |
Definition at line 206 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_ensure_subpixel(), and blender::blf_glyph_is_combining().
| GlyphCacheBLF* blender::GlyphBLF::glyph_cache |
Definition at line 233 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_draw().
| FT_UInt blender::GlyphBLF::idx |
Freetype2 index, to speed-up the search.
Definition at line 196 of file blf_internal_types.hh.
Referenced by blender::blf_kerning().
| ft_pix blender::GlyphBLF::lsb_delta |
The difference in bearings when hinting is active, zero otherwise.
Definition at line 209 of file blf_internal_types.hh.
Referenced by blender::blf_kerning().
| int blender::GlyphBLF::num_channels |
Definition at line 224 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_draw(), blender::blf_svg_icon_bitmap(), and blender::blf_texture_draw().
| int blender::GlyphBLF::offset |
Position inside the texture where this glyph is store.
Definition at line 213 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_draw(), and blender::blf_texture_draw().
| int blender::GlyphBLF::pitch |
Definition at line 223 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_draw_buffer(), and blender::blf_svg_icon_bitmap().
| int blender::GlyphBLF::pos[2] |
X and Y bearing of the glyph. The X bearing is from the origin to the glyph left bounding-box edge. The Y bearing is from the baseline to the top of the glyph edge.
Definition at line 231 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_calc_rect(), blender::blf_glyph_calc_rect_test(), and blender::blf_glyph_draw_buffer().
| ft_pix blender::GlyphBLF::rsb_delta |
Definition at line 210 of file blf_internal_types.hh.
Referenced by blender::blf_kerning().
| uint8_t blender::GlyphBLF::subpixel |
Definition at line 205 of file blf_internal_types.hh.
Referenced by blender::blf_glyph_ensure_subpixel().