GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A text style. More...
#include <gp_text_style.h>
Data Fields | |
const gp_font_face * | font |
A font face. | |
int | pixel_xspace |
Spacing between glyph pixels. | |
int | pixel_yspace |
Spacing between glyph pixels. | |
int | pixel_xmul |
An x multiplier of glyps pixels i.e. width (1 is default). | |
int | pixel_ymul |
An y multiplier of glyps pixels height (1 is default). | |
int | char_xspace |
Extra spacing (in pixels) between characters. | |
A text style.
This structure describes how a text should be rendered. It includes a font, and a few transformations.
Default font
Default font xspace=1, yspace=2, xmul=2, ymul=2
Default font xspace=-1, yspace=-1, xmul=2, ymul=2 (embolding)
Definition at line 39 of file gp_text_style.h.
int gp_text_style::pixel_xspace |
Spacing between glyph pixels.
Default spacing is 0 i.e. no spacing.
Definition at line 48 of file gp_text_style.h.
Referenced by gp_text_style_embold(), and gp_text_style_normal().
int gp_text_style::pixel_yspace |
Spacing between glyph pixels.
Default spacing is 0 i.e. no spacing.
Definition at line 54 of file gp_text_style.h.
Referenced by gp_text_style_embold(), and gp_text_style_normal().