PatchworkOS
Loading...
Searching...
No Matches
image_props_t Struct Reference

Element image properties structure. More...

#include <element.h>

Data Fields

align_t xAlign
 
align_t yAlign
 
point_t srcOffset
 

Detailed Description

Element image properties structure.

To avoid code duplication, we implement an image properties structure that can be used by any element that needs to render an image.

Definition at line 76 of file element.h.

Field Documentation

◆ srcOffset

point_t image_props_t::srcOffset

Definition at line 80 of file element.h.

Referenced by button_draw().

◆ xAlign

align_t image_props_t::xAlign

Definition at line 78 of file element.h.

Referenced by button_draw(), and element_new_raw().

◆ yAlign

align_t image_props_t::yAlign

Definition at line 79 of file element.h.

Referenced by button_draw().


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