Lines Matching refs:drect
135 Geom::Rect drect = this->desktop->get_display_area();
137 double const max = MAX ( drect.dimensions()[Geom::X], drect.dimensions()[Geom::Y] );
139 return Geom::Point(( v[Geom::X] - drect.min()[Geom::X] ) / max, ( v[Geom::Y] - drect.min()[Geom::Y] ) / max);
144 Geom::Rect drect = this->desktop->get_display_area();
146 double const max = MAX ( drect.dimensions()[Geom::X], drect.dimensions()[Geom::Y] );
148 return Geom::Point(n[Geom::X] * max + drect.min()[Geom::X], n[Geom::Y] * max + drect.min()[Geom::Y]);