Lines Matching refs:bbox_user
168 Geom::OptRect bbox_user = selection->bounds(bbox_type);
170 if ( !bbox_user ) {
193 xrel = Quantity::convert(gtk_adjustment_get_value(a_w), unit, "px") / bbox_user->dimensions()[Geom::X];
195 yrel = Quantity::convert(gtk_adjustment_get_value(a_h), unit, "px") / bbox_user->dimensions()[Geom::Y];
198 x0 = bbox_user->min()[Geom::X] * x0_propn;
200 y0 = y0_propn * bbox_user->min()[Geom::Y];
202 x1 = x0 + xrel * bbox_user->dimensions()[Geom::X];
204 y1 = y0 + yrel * bbox_user->dimensions()[Geom::Y];
211 x1 = x0 + yrel * bbox_user->dimensions()[Geom::X];
213 y1 = y0 + xrel * bbox_user->dimensions()[Geom::Y];
218 double mh = fabs(x0 - bbox_user->min()[Geom::X]);
219 double sh = fabs(x1 - bbox_user->max()[Geom::X]);
220 double mv = fabs(y0 - bbox_user->min()[Geom::Y]);
221 double sv = fabs(y1 - bbox_user->max()[Geom::Y]);