FFmpeg
|
Global text metrics. More...
Data Fields | |
int | offset_top64 |
ascender amount of the first line (in 26.6 units) More... | |
int | offset_bottom64 |
descender amount of the last line (in 26.6 units) More... | |
int | offset_left64 |
maximum offset between the origin and the leftmost pixel of the first glyph of each line (in 26.6 units) More... | |
int | offset_right64 |
maximum offset between the origin and the rightmost pixel of the last glyph of each line (in 26.6 units) More... | |
int | line_height64 |
the font-defined line height More... | |
int | width |
width of the longest line - ceil(width64/64) More... | |
int | height |
total height of the text - ceil(height64/64) More... | |
int | min_y64 |
minimum value of bbox.yMin among glyphs (in 26.6 units) More... | |
int | max_y64 |
maximum value of bbox.yMax among glyphs (in 26.6 units) More... | |
int | min_x64 |
minimum value of bbox.xMin among glyphs (in 26.6 units) More... | |
int | max_x64 |
maximum value of bbox.xMax among glyphs (in 26.6 units) More... | |
int | rect_x |
x position of the box More... | |
int | rect_y |
y position of the box More... | |
Global text metrics.
Definition at line 225 of file vf_drawtext.c.
int TextMetrics::offset_top64 |
ascender amount of the first line (in 26.6 units)
Definition at line 226 of file vf_drawtext.c.
Referenced by draw_text(), and measure_text().
int TextMetrics::offset_bottom64 |
descender amount of the last line (in 26.6 units)
Definition at line 227 of file vf_drawtext.c.
Referenced by draw_text(), and measure_text().
int TextMetrics::offset_left64 |
maximum offset between the origin and the leftmost pixel of the first glyph of each line (in 26.6 units)
Definition at line 228 of file vf_drawtext.c.
Referenced by measure_text().
int TextMetrics::offset_right64 |
maximum offset between the origin and the rightmost pixel of the last glyph of each line (in 26.6 units)
Definition at line 231 of file vf_drawtext.c.
Referenced by measure_text().
int TextMetrics::line_height64 |
the font-defined line height
Definition at line 234 of file vf_drawtext.c.
Referenced by draw_text(), and measure_text().
int TextMetrics::width |
width of the longest line - ceil(width64/64)
Definition at line 235 of file vf_drawtext.c.
Referenced by draw_text(), and measure_text().
int TextMetrics::height |
total height of the text - ceil(height64/64)
Definition at line 236 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), and measure_text().
int TextMetrics::min_y64 |
minimum value of bbox.yMin among glyphs (in 26.6 units)
Definition at line 238 of file vf_drawtext.c.
Referenced by draw_text(), and measure_text().
int TextMetrics::max_y64 |
maximum value of bbox.yMax among glyphs (in 26.6 units)
Definition at line 239 of file vf_drawtext.c.
Referenced by draw_text(), and measure_text().
int TextMetrics::min_x64 |
minimum value of bbox.xMin among glyphs (in 26.6 units)
Definition at line 240 of file vf_drawtext.c.
Referenced by draw_text(), and measure_text().
int TextMetrics::max_x64 |
maximum value of bbox.xMax among glyphs (in 26.6 units)
Definition at line 241 of file vf_drawtext.c.
Referenced by draw_text(), and measure_text().
int TextMetrics::rect_x |
x position of the box
Definition at line 244 of file vf_drawtext.c.
Referenced by draw_glyphs(), and draw_text().
int TextMetrics::rect_y |
y position of the box
Definition at line 245 of file vf_drawtext.c.
Referenced by draw_glyphs(), and draw_text().