Blender V5.3
blender::GlyphStepData Struct Reference

Public Attributes

GlyphBLF * g = nullptr
const GlyphBLF * g_kerning = nullptr
size_t i = 0
ft_pix pen_x = 0
ft_pix pen_x_right = 0
ft_pix pen_x_base = 0
ft_pix offset_y = 0
ft_pix base_ymax_accum = 0
ft_pix base_ymin_accum = 0

Detailed Description

State for stepping through glyphs in a UTF8 string. Handles combining character positioning and kerning.

Definition at line 444 of file blf_font.cc.

Member Data Documentation

◆ base_ymax_accum

ft_pix blender::GlyphStepData::base_ymax_accum = 0

Accumulated top edge for stacking multiple above-marks on one base.

Definition at line 460 of file blf_font.cc.

◆ base_ymin_accum

ft_pix blender::GlyphStepData::base_ymin_accum = 0

Accumulated bottom edge for stacking multiple below-marks on one base.

Definition at line 462 of file blf_font.cc.

◆ g

GlyphBLF* blender::GlyphStepData::g = nullptr

Current glyph from the last step (null if step failed).

Definition at line 446 of file blf_font.cc.

◆ g_kerning

const GlyphBLF* blender::GlyphStepData::g_kerning = nullptr

Last non-combining glyph, used for kerning lookup.

Definition at line 448 of file blf_font.cc.

◆ i

size_t blender::GlyphStepData::i = 0

Byte offset into the string (advanced by each step).

Definition at line 450 of file blf_font.cc.

◆ offset_y

ft_pix blender::GlyphStepData::offset_y = 0

Vertical offset for combining marks (raised above tall base glyphs).

Definition at line 458 of file blf_font.cc.

◆ pen_x

ft_pix blender::GlyphStepData::pen_x = 0

X position at which to draw the current glyph.

Definition at line 452 of file blf_font.cc.

◆ pen_x_base

ft_pix blender::GlyphStepData::pen_x_base = 0

Draw position of the last base character (for centering combining marks).

Definition at line 456 of file blf_font.cc.

◆ pen_x_right

ft_pix blender::GlyphStepData::pen_x_right = 0

Pen position after the current glyph's advance (right edge).

Definition at line 454 of file blf_font.cc.


The documentation for this struct was generated from the following file: