From 4df563948b0c4086c7be5cb0ef453570d2ec40a0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 5 Feb 2023 12:11:30 +0100 Subject: Add tests and documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index 2436a6a..67a1c62 100644 --- a/common.h +++ b/common.h @@ -29,6 +29,8 @@ #define SIGNUM(X) (((X) > 0) - ((X) < 0)) +#define DEFAULT_DRAFTNESS 0.5 + #define draw_vertical_line_opposite_only(...) @@ -66,6 +68,7 @@ typedef struct rtgrpblib_cell { typedef struct rtgrpblib_raster { size_t height; size_t width; + size_t size; double draftness; /* TODO support 0 */ CELL cells[]; } RASTER; -- cgit v1.2.3-70-g09d2