Lines Matching refs:viewbox
1791 Geom::Rect viewbox = dtw->desktop->get_display_area();
1793 double lower_x = dtw->dt2r * (viewbox.left() - dtw->ruler_origin[Geom::X]);
1794 double upper_x = dtw->dt2r * (viewbox.right() - dtw->ruler_origin[Geom::X]);
1800 double lower_y = dtw->dt2r * (viewbox.bottom() - dtw->ruler_origin[Geom::Y]);
1801 double upper_y = dtw->dt2r * (viewbox.top() - dtw->ruler_origin[Geom::Y]);
2224 Geom::Rect viewbox = dtw->canvas->getViewbox();
2227 carea = Geom::unify(carea, viewbox);
2230 viewbox.dimensions()[Geom::X],
2231 0.1 * viewbox.dimensions()[Geom::X],
2232 viewbox.dimensions()[Geom::X]);
2233 gtk_adjustment_set_value(dtw->hadj, viewbox.min()[Geom::X]);
2236 viewbox.dimensions()[Geom::Y],
2237 0.1 * viewbox.dimensions()[Geom::Y],
2238 viewbox.dimensions()[Geom::Y]);
2239 gtk_adjustment_set_value(dtw->vadj, viewbox.min()[Geom::Y]);