summaryrefslogtreecommitdiff
path: root/src/cairo-path-bounds.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2003-09-05 15:29:49 +0000
committerCarl Worth <cworth@cworth.org>2003-09-05 15:29:49 +0000
commit5b5c172803887e59bf86f351d60930fd10f6063b (patch)
tree8ad84d1f1d1b702e19658f3e6100cef14de0de45 /src/cairo-path-bounds.c
parent4551d78c8f5579a563a446ee745a04472d372823 (diff)
downloadcairo-5b5c172803887e59bf86f351d60930fd10f6063b.tar.gz
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)
Diffstat (limited to 'src/cairo-path-bounds.c')
-rw-r--r--src/cairo-path-bounds.c8
1 files changed, 4 insertions, 4 deletions
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);