summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/clip.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-05-05 18:25:26 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-05-05 18:25:26 -0700
commit4d07d2c6fe9e77f5fecbe19528cb54cc06f0e8bd (patch)
treeb8fad0a12c1ea7bfa419942f81c6813da13ac115 /src/cairo-tests/clip.cpp
parent398770f6d07eb5916e12545b8d223b34fa69fd6e (diff)
Rename centre to center
Diffstat (limited to 'src/cairo-tests/clip.cpp')
-rw-r--r--src/cairo-tests/clip.cpp4
1 files changed, 2 insertions, 2 deletions
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);