|
gpforge
An advanced bitmap font editor
|
A glyph cell geometry. More...
#include <cell.h>
Data Fields | |
| unsigned int | w |
| The cell size in pixels. | |
| unsigned int | label_h |
| The height of the codepoint line at the top. | |
| unsigned int | ref_h |
| The line under it, where the widget font draws the character. | |
| int | top |
| How far the font's ink reaches above the baseline, at least the ascent. | |
| unsigned int | pad |
| The theme's padding, above the glyph and below it. | |
| unsigned int | zoom |
| The pixel multiplier, the table's, or less when there is no room. | |
| int | x0 |
| Where the grid starts in the pixmap, see gpf_cell_center(). | |
| gp_pixel | bg |
| The color the cells are drawn on, the selected one is highlighted instead. | |
A glyph cell geometry.
Filled in by gpf_cell_init(), the same for every cell of a grid.
| gp_pixel gpf_cell::bg |
The color the cells are drawn on, the selected one is highlighted instead.
The foreground color set by gpf_cell_init(), a grid that follows the focus of its widget sets it with gpf_gui_back_color().
Definition at line 57 of file cell.h.
Referenced by gpf_cell_init().