#include <dr_2d.h>
Public Attributes | |
char | family [DR2D_MAX_FONT_FAMILY_LENGTH] |
The font family. More... | |
unsigned int | flags |
dr2d_context * | pContext |
A pointer to the context that owns the font. More... | |
dr2d_byte | pExtraData [1] |
The extra bytes. The size of this buffer is equal to pContext->fontExtraBytes. More... | |
float | rotation |
The font's rotation, in degrees. More... | |
unsigned int | size |
The size of the font. More... | |
dr2d_font_slant | slant |
The font's slant. More... | |
dr2d_font_weight | weight |
The font's weight. More... | |
Definition at line 288 of file porcupine/demo/c/dr_libs/old/dr_2d.h.
char dr2d_font::family |
The font family.
Definition at line 294 of file porcupine/demo/c/dr_libs/old/dr_2d.h.
unsigned int dr2d_font::flags |
Flags. Can be a combination of the following. DR2D_FONT_NO_CLEARTYPE
Definition at line 310 of file porcupine/demo/c/dr_libs/old/dr_2d.h.
dr2d_context * dr2d_font::pContext |
A pointer to the context that owns the font.
Definition at line 291 of file porcupine/demo/c/dr_libs/old/dr_2d.h.
dr2d_byte dr2d_font::pExtraData |
The extra bytes. The size of this buffer is equal to pContext->fontExtraBytes.
Definition at line 313 of file porcupine/demo/c/dr_libs/old/dr_2d.h.
float dr2d_font::rotation |
The font's rotation, in degrees.
Definition at line 306 of file porcupine/demo/c/dr_libs/old/dr_2d.h.
unsigned int dr2d_font::size |
The size of the font.
Definition at line 297 of file porcupine/demo/c/dr_libs/old/dr_2d.h.
dr2d_font_slant dr2d_font::slant |
The font's slant.
Definition at line 303 of file porcupine/demo/c/dr_libs/old/dr_2d.h.
dr2d_font_weight dr2d_font::weight |
The font's weight.
Definition at line 300 of file porcupine/demo/c/dr_libs/old/dr_2d.h.