diff options
| author | Syndamia <kamen@syndamia.com> | 2026-03-16 20:59:04 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2026-03-16 20:59:04 +0200 |
| commit | ef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93 (patch) | |
| tree | f2ee90c08ae5f11692bd6c3ccf85077aab465e6b /RGBImage.h | |
| parent | 2202e87c466803eeaddd974006aa9950d8e0d067 (diff) | |
| download | ppm_graphics-ef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93.tar ppm_graphics-ef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93.tar.gz ppm_graphics-ef4a2773e90ebc6ed7ad66bcfd4e30165c04fb93.zip | |
feat: Implement circle and rename square
Diffstat (limited to 'RGBImage.h')
| -rw-r--r-- | RGBImage.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -5,8 +5,7 @@ #include <stdio.h> typedef uint8_t byte; -typedef uint16_t byte2; -typedef uint32_t byte4; +typedef uint32_t color; typedef struct ARGB { byte a; @@ -15,7 +14,7 @@ typedef struct ARGB { byte b; } ARGB; -void ARGB_set(ARGB* rgb, byte4 color); +void ARGB_set(ARGB* rgb, color color); void ARGB_merge(ARGB* bottom, ARGB top); typedef struct RGBImage { |
