|
Blender V4.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 |
| 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 164 of file blf_internal_types.hh.
| GlyphBLF::~GlyphBLF | ( | ) |
Definition at line 1435 of file blf_glyph.cc.
References bitmap, and MEM_freeN().
| ft_pix GlyphBLF::advance_x |
Definition at line 177 of file blf_internal_types.hh.
Referenced by blf_font_boundbox_ex(), blf_font_boundbox_foreach_glyph(), blf_font_draw_buffer_ex(), blf_font_draw_ex(), blf_font_width_to_strlen_glyph_process(), blf_font_wrap_apply(), blf_glyph_calc_rect_test(), and blf_glyph_ensure_subpixel().
| unsigned char* GlyphBLF::bitmap |
Bitmap data, from freetype. Take care that this can be NULL.
Definition at line 191 of file blf_internal_types.hh.
Referenced by blf_glyph_draw(), blf_glyph_draw_buffer(), blf_svg_icon_bitmap(), and ~GlyphBLF().
| ft_pix GlyphBLF::box_xmax |
Definition at line 173 of file blf_internal_types.hh.
Referenced by blf_font_boundbox_ex(), and blf_font_boundbox_foreach_glyph().
| ft_pix GlyphBLF::box_xmin |
Glyph bounding-box.
Definition at line 172 of file blf_internal_types.hh.
Referenced by blf_font_boundbox_ex(), and blf_font_boundbox_foreach_glyph().
| ft_pix GlyphBLF::box_ymax |
Definition at line 175 of file blf_internal_types.hh.
Referenced by blf_font_boundbox_ex(), and blf_font_boundbox_foreach_glyph().
| ft_pix GlyphBLF::box_ymin |
Definition at line 174 of file blf_internal_types.hh.
Referenced by blf_font_boundbox_ex(), and blf_font_boundbox_foreach_glyph().
| unsigned int GlyphBLF::c |
The character, as UTF-32.
Definition at line 166 of file blf_internal_types.hh.
Referenced by blf_font_draw_mono(), blf_font_wrap_apply(), blf_glyph_ensure_subpixel(), and blf_kerning().
| int GlyphBLF::dims[2] |
Glyph width and height.
Definition at line 194 of file blf_internal_types.hh.
Referenced by blf_glyph_calc_rect(), blf_glyph_calc_rect_test(), blf_glyph_draw(), blf_glyph_draw_buffer(), blf_glyph_ensure_subpixel(), blf_svg_icon_bitmap(), and blf_texture_draw().
| GlyphCacheBLF* GlyphBLF::glyph_cache |
Definition at line 205 of file blf_internal_types.hh.
Referenced by blf_glyph_draw().
| FT_UInt GlyphBLF::idx |
Freetype2 index, to speed-up the search.
Definition at line 169 of file blf_internal_types.hh.
Referenced by blf_kerning().
| ft_pix GlyphBLF::lsb_delta |
The difference in bearings when hinting is active, zero otherwise.
Definition at line 181 of file blf_internal_types.hh.
Referenced by blf_kerning().
| int GlyphBLF::num_channels |
Definition at line 196 of file blf_internal_types.hh.
Referenced by blf_glyph_draw(), blf_svg_icon_bitmap(), and blf_texture_draw().
| int GlyphBLF::offset |
Position inside the texture where this glyph is store.
Definition at line 185 of file blf_internal_types.hh.
Referenced by blf_glyph_draw(), and blf_texture_draw().
| int GlyphBLF::pitch |
Definition at line 195 of file blf_internal_types.hh.
Referenced by blf_glyph_draw_buffer(), and blf_svg_icon_bitmap().
| int 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 203 of file blf_internal_types.hh.
Referenced by blf_glyph_calc_rect(), blf_glyph_calc_rect_test(), and blf_glyph_draw_buffer().
| ft_pix GlyphBLF::rsb_delta |
Definition at line 182 of file blf_internal_types.hh.
Referenced by blf_kerning().
| uint8_t GlyphBLF::subpixel |
Definition at line 178 of file blf_internal_types.hh.
Referenced by blf_glyph_ensure_subpixel().