From 4d07d2c6fe9e77f5fecbe19528cb54cc06f0e8bd Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Mon, 5 May 2014 18:25:26 -0700 Subject: Rename centre to center --- src/cairo-tests/clip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cairo-tests/clip.cpp') diff --git a/src/cairo-tests/clip.cpp b/src/cairo-tests/clip.cpp index 194c326..0a0fee6 100644 --- a/src/cairo-tests/clip.cpp +++ b/src/cairo-tests/clip.cpp @@ -53,8 +53,8 @@ void drawShape(caskbench_context_t *ctx,double x,double y,double clipr=0,bool is shape = ((4.0 * rand())/RAND_MAX) +1; else shape = ctx->shape_args.shape_id ; - ctx->shape_args.centre_x = x; - ctx->shape_args.centre_y = y; + ctx->shape_args.center_x = x; + ctx->shape_args.center_y = y; ctx->shape_args.radius = isClip?clipr:r; ctx->shape_args.width = (ctx->shape_args.width)?ctx->shape_args.width:2*(isClip?clipr:r); ctx->shape_args.height = (ctx->shape_args.height)?ctx->shape_args.height:2*(isClip?clipr:r); -- cgit v1.3.1-4-g156e