summaryrefslogtreecommitdiffstatsci
path: root/src/caskbench.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-05-08 01:29:09 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-05-08 18:50:52 -0700
commit059959e7f3235bba9aea623fb282bf21835e1bd0 (patch)
tree6a17e8bc3c5e525505f82209dd049db906230e6c /src/caskbench.cpp
parent391eac8f09d567b58b144cfb82f05d6f5929a6f3 (diff)
Rename cairo_context structure member shape_args to shape_defaults
Diffstat (limited to 'src/caskbench.cpp')
-rw-r--r--src/caskbench.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/caskbench.cpp b/src/caskbench.cpp
index 1ad1f33..c105cc5 100644
--- a/src/caskbench.cpp
+++ b/src/caskbench.cpp
@@ -580,27 +580,27 @@ main (int argc, char *argv[])
context_init(&context, opt.size);
// Command line setup for shapes
- context.shape_args.x = opt.x_position;
- context.shape_args.y = opt.y_position;
- context.shape_args.width = opt.width;
- context.shape_args.height = opt.height;
- context.shape_args.shape_name = opt.shape_name;
- context.shape_args.fill_type = opt.fill_type;
- context.shape_args.red = opt.red;
- context.shape_args.green = opt.green;
- context.shape_args.blue = opt.blue;
- context.shape_args.alpha = opt.alpha;
- context.shape_args.image_path = opt.image_path;
- context.shape_args.stroke_width = opt.stroke_width;
- context.shape_args.multi_shapes = opt.multi_shapes;
- context.shape_args.animation = opt.animation;
- context.shape_args.stroke_width = opt.stroke_width;
- context.shape_args.stroke_red = opt.stroke_red;
- context.shape_args.stroke_green = opt.stroke_green;
- context.shape_args.stroke_blue = opt.stroke_blue;
- context.shape_args.cap_style = opt.cap_style;
- context.shape_args.join_style = opt.join_style;
- context.shape_args.dash_style = opt.dash_style;
+ context.shape_defaults.x = opt.x_position;
+ context.shape_defaults.y = opt.y_position;
+ context.shape_defaults.width = opt.width;
+ context.shape_defaults.height = opt.height;
+ context.shape_defaults.shape_name = opt.shape_name;
+ context.shape_defaults.fill_type = opt.fill_type;
+ context.shape_defaults.red = opt.red;
+ context.shape_defaults.green = opt.green;
+ context.shape_defaults.blue = opt.blue;
+ context.shape_defaults.alpha = opt.alpha;
+ context.shape_defaults.image_path = opt.image_path;
+ context.shape_defaults.stroke_width = opt.stroke_width;
+ context.shape_defaults.multi_shapes = opt.multi_shapes;
+ context.shape_defaults.animation = opt.animation;
+ context.shape_defaults.stroke_width = opt.stroke_width;
+ context.shape_defaults.stroke_red = opt.stroke_red;
+ context.shape_defaults.stroke_green = opt.stroke_green;
+ context.shape_defaults.stroke_blue = opt.stroke_blue;
+ context.shape_defaults.cap_style = opt.cap_style;
+ context.shape_defaults.join_style = opt.join_style;
+ context.shape_defaults.dash_style = opt.dash_style;
result_init(&result, perf_tests[c].name);
config.width = context.canvas_width;