- points.push_back(Gnome::Art::Point(-9383839.0, 0.0));
- points.push_back(Gnome::Art::Point(1.0, 0.0));
-
- // cerr << "set cursor points, nc = " << points->num_points << endl;
-
- canvas_item.property_points().set_value(points);
- canvas_item.property_fill_color().set_value(color.c_str());
- canvas_item.property_width_pixels().set_value(1);
- canvas_item.property_first_arrowhead().set_value(TRUE);
- canvas_item.property_last_arrowhead().set_value(TRUE);
- canvas_item.property_arrow_shape_a().set_value(11.0);
- canvas_item.property_arrow_shape_b().set_value(0.0);
- canvas_item.property_arrow_shape_c().set_value(9.0);
-
- // cerr << "cursor line @ " << canvas_item << endl;
+ canvas_item.property_points() = points;
+ canvas_item.property_width_pixels() = 1;
+ canvas_item.property_first_arrowhead() = TRUE;
+ canvas_item.property_last_arrowhead() = TRUE;
+ canvas_item.property_arrow_shape_a() = 11.0;
+ canvas_item.property_arrow_shape_b() = 0.0;
+ canvas_item.property_arrow_shape_c() = 9.0;