Public Attributes | List of all members
drgui_draw_image_args Struct Reference

#include <dr_gui.h>

Public Attributes

drgui_color backgroundColor
 The background color. Only used if the DR2D_IMAGE_DRAW_BACKGROUND option is set. More...
 
drgui_color boundsColor
 
float dstBoundsHeight
 The height of the destination's bounds. More...
 
float dstBoundsWidth
 The width of the destination's bounds. More...
 
float dstBoundsX
 The position of the destination's bounds on the x axis. More...
 
float dstBoundsY
 The position of the destination's bounds on the y axis. More...
 
float dstHeight
 The destination height. More...
 
float dstWidth
 The destination width. More...
 
float dstX
 The destination position on the x axis. This is ignored if the DR2D_IMAGE_ALIGN_CENTER option is set. More...
 
float dstY
 The destination position on the y axis. This is ignored if the DR2D_IMAGE_ALIGN_CENTER option is set. More...
 
drgui_color foregroundTint
 The foreground tint color. This is not applied to the background color, and the alpha component is ignored. More...
 
unsigned int options
 Flags for controlling how the image should be drawn. More...
 
float srcHeight
 The source height. More...
 
float srcWidth
 The source width. More...
 
float srcX
 The source offset on the x axis. More...
 
float srcY
 The source offset on the y axis. More...
 

Detailed Description

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

Member Data Documentation

◆ backgroundColor

drgui_color drgui_draw_image_args::backgroundColor

The background color. Only used if the DR2D_IMAGE_DRAW_BACKGROUND option is set.

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

◆ boundsColor

drgui_color drgui_draw_image_args::boundsColor

The bounds color. This color is used for the region of the bounds that sit on the outside of the destination rectangle. This will usually be set to the same value as backgroundColor, but it could also be used to draw a border around the image.

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

◆ dstBoundsHeight

float drgui_draw_image_args::dstBoundsHeight

The height of the destination's bounds.

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

◆ dstBoundsWidth

float drgui_draw_image_args::dstBoundsWidth

The width of the destination's bounds.

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

◆ dstBoundsX

float drgui_draw_image_args::dstBoundsX

The position of the destination's bounds on the x axis.

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

◆ dstBoundsY

float drgui_draw_image_args::dstBoundsY

The position of the destination's bounds on the y axis.

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

◆ dstHeight

float drgui_draw_image_args::dstHeight

The destination height.

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

◆ dstWidth

float drgui_draw_image_args::dstWidth

The destination width.

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

◆ dstX

float drgui_draw_image_args::dstX

The destination position on the x axis. This is ignored if the DR2D_IMAGE_ALIGN_CENTER option is set.

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

◆ dstY

float drgui_draw_image_args::dstY

The destination position on the y axis. This is ignored if the DR2D_IMAGE_ALIGN_CENTER option is set.

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

◆ foregroundTint

drgui_color drgui_draw_image_args::foregroundTint

The foreground tint color. This is not applied to the background color, and the alpha component is ignored.

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

◆ options

unsigned int drgui_draw_image_args::options

Flags for controlling how the image should be drawn.

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

◆ srcHeight

float drgui_draw_image_args::srcHeight

The source height.

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

◆ srcWidth

float drgui_draw_image_args::srcWidth

The source width.

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

◆ srcX

float drgui_draw_image_args::srcX

The source offset on the x axis.

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

◆ srcY

float drgui_draw_image_args::srcY

The source offset on the y axis.

Definition at line 317 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