From 5b5c172803887e59bf86f351d60930fd10f6063b Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 5 Sep 2003 15:29:49 +0000 Subject: Preliminary support for running Cairo with X servers without the Render extension. This is still horribly slow. Removed many uses of X-specific macros, (eg. XDoubleToFixed) --- src/cairo-path-bounds.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cairo-path-bounds.c') diff --git a/src/cairo-path-bounds.c b/src/cairo-path-bounds.c index 27361f736..f9b92b3cc 100644 --- a/src/cairo-path-bounds.c +++ b/src/cairo-path-bounds.c @@ -159,10 +159,10 @@ _cairo_path_bounds (cairo_path_t *path, double *x1, double *y1, double *x2, doub return status; } - *x1 = XFixedToDouble (bounder.min_x); - *y1 = XFixedToDouble (bounder.min_y); - *x2 = XFixedToDouble (bounder.max_x); - *y2 = XFixedToDouble (bounder.max_y); + *x1 = _cairo_fixed_to_double (bounder.min_x); + *y1 = _cairo_fixed_to_double (bounder.min_y); + *x2 = _cairo_fixed_to_double (bounder.max_x); + *y2 = _cairo_fixed_to_double (bounder.max_y); _cairo_path_bounder_fini (&bounder); -- cgit v1.2.1