mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
Fix comments.
svn path=/trunk/netsurf/; revision=6665
This commit is contained in:
parent
656c0a0dcb
commit
bc875e092e
@ -287,8 +287,10 @@ static bool fb_plotters_find_span(const int *p, int n, int x, int y,
|
||||
|
||||
}
|
||||
if (*x0 == INT_MAX)
|
||||
/* no span found */
|
||||
return false;
|
||||
|
||||
/* span found */
|
||||
if (*x1 == INT_MAX) {
|
||||
*x1 = *x0;
|
||||
*x0 = x;
|
||||
@ -312,12 +314,12 @@ static bool fb_plotters_find_span(const int *p, int n, int x, int y,
|
||||
bool fb_plotters_polygon(const int *p, unsigned int n, colour c,
|
||||
linefn_t linefn)
|
||||
{
|
||||
int poly_x0, poly_y0; /* Clip rect top left corner */
|
||||
int poly_x1, poly_y1; /* Clip rect bottom right corner */
|
||||
int poly_x0, poly_y0; /* Bounding box top left corner */
|
||||
int poly_x1, poly_y1; /* Bounding box bottom right corner */
|
||||
int i, j; /* indexes */
|
||||
int x0, x1;
|
||||
int x0, x1; /* filled span extents */
|
||||
int y; /* current y coordinate */
|
||||
int y_max;
|
||||
int y_max; /* bottom of plot area */
|
||||
|
||||
/* find no. of vertex values */
|
||||
int v = n * 2;
|
||||
|
Loading…
Reference in New Issue
Block a user