[cairo-commit] cairo/src cairo_path_stroke.c,1.11,1.12 cairo_polygon.c,1.4,1.5
Carl Worth
commit at pdx.freedesktop.org
Fri Nov 21 06:22:04 PST 2003
Committed by: cworth
Update of /cvs/cairo//cairo/src
In directory pdx:/tmp/cvs-serv28753/src
Modified Files:
cairo_path_stroke.c cairo_polygon.c
Log Message:
* src/cairo_polygon.c (_cairo_polygon_add_edge): Use 0 and 1 not
False and True, (to avoid false dependency on X headers).
* src/cairo_path_stroke.c (_compute_face): Use
cairo_point_double_t not XPointDouble, (to avoid false dependency
on X headers). Thanks to "Sasha V." <sasha at aftercode.net> for
pointing these out.
Index: cairo_path_stroke.c
===================================================================
RCS file: /cvs/cairo//cairo/src/cairo_path_stroke.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** cairo_path_stroke.c 23 Oct 2003 14:47:29 -0000 1.11
--- cairo_path_stroke.c 21 Nov 2003 14:22:02 -0000 1.12
***************
*** 388,392 ****
double line_dx, line_dy;
double face_dx, face_dy;
! XPointDouble usr_vector;
cairo_point_t offset_ccw, offset_cw;
--- 388,392 ----
double line_dx, line_dy;
double face_dx, face_dy;
! cairo_point_double_t usr_vector;
cairo_point_t offset_ccw, offset_cw;
Index: cairo_polygon.c
===================================================================
RCS file: /cvs/cairo//cairo/src/cairo_polygon.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** cairo_polygon.c 23 Oct 2003 14:47:29 -0000 1.4
--- cairo_polygon.c 21 Nov 2003 14:22:02 -0000 1.5
***************
*** 128,136 ****
edge->edge.p1 = *p1;
edge->edge.p2 = *p2;
! edge->clockWise = True;
} else {
edge->edge.p1 = *p2;
edge->edge.p2 = *p1;
! edge->clockWise = False;
}
--- 128,136 ----
edge->edge.p1 = *p1;
edge->edge.p2 = *p2;
! edge->clockWise = 1;
} else {
edge->edge.p1 = *p2;
edge->edge.p2 = *p1;
! edge->clockWise = 0;
}
More information about the cairo-commit
mailing list