Structure to represent arbitrary-sized 9-patches. More...
#include <graphic_utils.h>
Data Fields | |
| Rect | patch_rect |
| Rect | margins |
Structure to represent arbitrary-sized 9-patches.
While expanding a 3x3 rect is simple enough and has its purpose, this is an attempt to generalize the idea to a struct representing a 9-patch like this, such that areas 1, 2, 3 and 4 have no null dimensions and don't overlap:
Definition at line 260 of file graphic_utils.h.
| Rect margins |
Definition at line 263 of file graphic_utils.h.
| Rect patch_rect |
Definition at line 262 of file graphic_utils.h.