From e9a184546b18cf3b796bd560561f312934004c54 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 9 Sep 2010 01:48:52 +0200 Subject: Upgrading to CD 5.4 - and cleaning up. --- cd/src/sim/sim.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cd/src/sim/sim.h') diff --git a/cd/src/sim/sim.h b/cd/src/sim/sim.h index e98b030..2832391 100755 --- a/cd/src/sim/sim.h +++ b/cd/src/sim/sim.h @@ -18,7 +18,7 @@ struct _cdSimulation int font_map_n; /* horizontal line draw functions */ - void (*SolidLine)(cdCanvas* canvas, int xmin, int y, int xmax); + void (*SolidLine)(cdCanvas* canvas, int xmin, int y, int xmax, long color); void (*PatternLine)(cdCanvas* canvas, int xmin, int xmax, int y, int pw, const long *pattern); void (*StippleLine)(cdCanvas* canvas, int xmin, int xmax, int y, int pw, const unsigned char *stipple); void (*HatchLine)(cdCanvas* canvas, int xmin, int xmax, int y, unsigned char hatch); @@ -28,6 +28,7 @@ struct _cdSimulation void simFillDrawAAPixel(cdCanvas *canvas, int x, int y, unsigned short alpha_weigth); void simFillHorizLine(cdSimulation* simulation, int xmin, int y, int xmax); +void simFillHorizBox(cdSimulation* simulation, int xmin, int xmax, int ymin, int ymax); int simIsPointInPolyWind(cdPoint* poly, int n, int x, int y); /* list of non-horizontal line segments */ @@ -49,10 +50,9 @@ void simPolyMakeSegments(simLineSegment *segments, int *n_seg, cdPoint* poly, in void simPolyFill(cdSimulation* simulation, cdPoint* poly, int n); void simLineThin(cdCanvas* canvas, int x1, int y1, int x2, int y2); void simLineThick(cdCanvas* canvas, int x1, int y1, int x2, int y2); +void simfLineThick(cdCanvas* canvas, double x1, double y1, double x2, double y2); void simfLineThin(cdCanvas* canvas, double x1, double y1, double x2, double y2, int *last_xi_a, int *last_yi_a, int *last_xi_b, int *last_yi_b); extern int simLineStyleNoReset; -int simCalcEllipseNumSegments(cdCanvas* canvas, int xc, int yc, int width, int height); - #endif -- cgit v1.2.3