mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 06:40:37 +01:00
29 lines
422 B
C
29 lines
422 B
C
#ifndef KANDINSKY_RECT_H
|
|
#define KANDINSKY_RECT_H
|
|
|
|
#include <kandinsky/color.h>
|
|
#include <kandinsky/types.h>
|
|
|
|
typedef struct {
|
|
union {
|
|
struct {
|
|
KDCoordinate x;
|
|
KDCoordinate y;
|
|
};
|
|
KDPoint origin;
|
|
};
|
|
union {
|
|
struct {
|
|
KDCoordinate width;
|
|
KDCoordinate height;
|
|
};
|
|
KDSize size;
|
|
};
|
|
} KDRect;
|
|
|
|
extern KDRect KDRectZero;
|
|
|
|
void KDFillRect(KDRect rect, KDColor color);
|
|
|
|
#endif
|