- const sinfg::Vector::value_type window_startx(get_work_area()->get_window_tl()[0]);
- const sinfg::Vector::value_type window_endx(get_work_area()->get_window_br()[0]);
- const sinfg::Vector::value_type window_starty(get_work_area()->get_window_tl()[1]);
- const sinfg::Vector::value_type window_endy(get_work_area()->get_window_br()[1]);
+ const synfig::Vector grid_size(get_grid_size());
+
+ const synfig::Vector::value_type window_startx(get_work_area()->get_window_tl()[0]);
+ const synfig::Vector::value_type window_endx(get_work_area()->get_window_br()[0]);
+ const synfig::Vector::value_type window_starty(get_work_area()->get_window_tl()[1]);
+ const synfig::Vector::value_type window_endy(get_work_area()->get_window_br()[1]);