aboutsummaryrefslogtreecommitdiffstats
path: root/draw_linear_bezier_reference.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-02-06 22:20:42 +0100
committerMattias Andrée <maandree@kth.se>2023-02-06 22:20:42 +0100
commit096d5e172f83f9e8893e5f6d184e3299270c7e28 (patch)
treea35cdcb4361f2695e2741960ade7a5ca98d6f93a /draw_linear_bezier_reference.c
parentRename rtgrpblib_draw_{circular => elliptical}_arc (diff)
downloadlibrifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-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.c23
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)
{