diff options
author | Mattias Andrée <maandree@kth.se> | 2023-02-06 22:20:42 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-02-06 22:20:42 +0100 |
commit | 096d5e172f83f9e8893e5f6d184e3299270c7e28 (patch) | |
tree | a35cdcb4361f2695e2741960ade7a5ca98d6f93a | |
parent | Rename rtgrpblib_draw_{circular => elliptical}_arc (diff) | |
download | librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-096d5e172f83f9e8893e5f6d184e3299270c7e28.tar.gz librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-096d5e172f83f9e8893e5f6d184e3299270c7e28.tar.bz2 librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-096d5e172f83f9e8893e5f6d184e3299270c7e28.tar.xz |
Remove unused code
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | draw_linear_bezier_reference.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/draw_linear_bezier_reference.c b/draw_linear_bezier_reference.c index 271e0a8..31107f1 100644 --- a/draw_linear_bezier_reference.c +++ b/draw_linear_bezier_reference.c @@ -131,29 +131,6 @@ draw_linear_bezier_reference(RASTER *restrict raster, double x1, double y1, doub static RASTER *raster; -#if 1 -static void -print_raster(void) -{ - size_t y, x; - printf("\nOutline (area)\n"); - for (y = 0; y < raster->height; y++) { - for (x = 0; x < raster->width; x++) - printf(raster->cells[y * raster->width + x].cell_coverage ? "%+.4lf " : " 0 ", - raster->cells[y * raster->width + x].cell_coverage); - printf("\n"); - } - printf("\nOutline (shadow)\n"); - for (y = 0; y < raster->height; y++) { - for (x = 0; x < raster->width; x++) - printf(raster->cells[y * raster->width + x].opposite_coverage ? "%+.4lf " : " 0 ", - raster->cells[y * raster->width + x].opposite_coverage); - printf("\n"); - } -} -#endif - - static void draw(double x1, double y1, double x2, double y2) { |