#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... | |
Definition at line 298 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
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.
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.
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.
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.
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.
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.
float drgui_draw_image_args::dstHeight |
The destination height.
Definition at line 310 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
float drgui_draw_image_args::dstWidth |
The destination width.
Definition at line 307 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
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.
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.
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.
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.
float drgui_draw_image_args::srcHeight |
The source height.
Definition at line 323 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
float drgui_draw_image_args::srcWidth |
The source width.
Definition at line 320 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
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.
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.