Public Attributes | List of all members
drgui_text_run Struct Reference

#include <dr_gui.h>

Public Attributes

drgui_color backgroundColor
 The backgorund color of the text. More...
 
float height
 The height of the run. More...
 
size_t iChar
 Index in the main text string of the first character of the run. More...
 
size_t iCharEnd
 Index in the main text string of the character just past the last character in the run. More...
 
size_t iLine
 
drgui_fontpFont
 The font. More...
 
float posX
 The position to draw the text on the x axis. More...
 
float posY
 The position to draw the text on the y axis. More...
 
const char * text
 A pointer to the start of the string. This is NOT null terminated. More...
 
drgui_color textColor
 The foreground color of the text. More...
 
size_t textLength
 The length of the string, in bytes. More...
 
float width
 The width of the run. More...
 

Detailed Description

Definition at line 5267 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

Member Data Documentation

◆ backgroundColor

drgui_color drgui_text_run::backgroundColor

The backgorund color of the text.

Definition at line 5283 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ height

float drgui_text_run::height

The height of the run.

Definition at line 5296 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ iChar

size_t drgui_text_run::iChar

Index in the main text string of the first character of the run.

Definition at line 5306 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ iCharEnd

size_t drgui_text_run::iCharEnd

Index in the main text string of the character just past the last character in the run.

Definition at line 5309 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ iLine

size_t drgui_text_run::iLine

Index of the line the run is placed on. For runs that are new line characters, this will represent the number of lines that came before it. For example, if this run represents the new-line character for the first line, this will be 0 and so on.

Definition at line 5303 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ pFont

drgui_font * drgui_text_run::pFont

The font.

Definition at line 5277 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ posX

float drgui_text_run::posX

The position to draw the text on the x axis.

Definition at line 5287 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ posY

float drgui_text_run::posY

The position to draw the text on the y axis.

Definition at line 5290 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ text

const char * drgui_text_run::text

A pointer to the start of the string. This is NOT null terminated.

Definition at line 5270 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ textColor

drgui_color drgui_text_run::textColor

The foreground color of the text.

Definition at line 5280 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ textLength

size_t drgui_text_run::textLength

The length of the string, in bytes.

Definition at line 5273 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ width

float drgui_text_run::width

The width of the run.

Definition at line 5293 of file porcupine/demo/c/dr_libs/old/dr_gui.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