Public Attributes | List of all members
dr2d_font Struct Reference

#include <dr_2d.h>

Public Attributes

char family [DR2D_MAX_FONT_FAMILY_LENGTH]
 The font family. More...
 
unsigned int flags
 
dr2d_contextpContext
 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...
 

Detailed Description

Definition at line 288 of file porcupine/demo/c/dr_libs/old/dr_2d.h.

Member Data Documentation

◆ family

char dr2d_font::family

The font family.

Definition at line 294 of file porcupine/demo/c/dr_libs/old/dr_2d.h.

◆ flags

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.

◆ pContext

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.

◆ pExtraData

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.

◆ rotation

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.

◆ size

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.

◆ slant

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.

◆ weight

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.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19