libsf3
Loading...
Searching...
No Matches
Data Fields
sf3_text_instruction Struct Reference

#include <sf3_vector_graphic.h>

Collaboration diagram for sf3_text_instruction:
Collaboration graph
[legend]

Data Fields

uint8_t type
 
struct sf3_point point
 The center point of the baseline of the first character.
 
struct sf3_color color
 The colour to fill the text glyphs with.
 
float font_size
 The size of the font in em units.
 
sf3_str16 font
 The name of the font-family to use for the text.
 

Detailed Description

An instruction to draw text. See sf3_text_instruction_string

Definition at line 92 of file sf3_vector_graphic.h.

Field Documentation

◆ color

struct sf3_color sf3_text_instruction::color

The colour to fill the text glyphs with.

Definition at line 97 of file sf3_vector_graphic.h.

◆ font

sf3_str16 sf3_text_instruction::font

The name of the font-family to use for the text.

Definition at line 101 of file sf3_vector_graphic.h.

◆ font_size

float sf3_text_instruction::font_size

The size of the font in em units.

Definition at line 99 of file sf3_vector_graphic.h.

◆ point

struct sf3_point sf3_text_instruction::point

The center point of the baseline of the first character.

Definition at line 95 of file sf3_vector_graphic.h.

◆ type

uint8_t sf3_text_instruction::type

Definition at line 93 of file sf3_vector_graphic.h.


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