Searched defs:drect (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/ui/tools/
H A Ddynamic-base.cpp135 Geom::Rect drect = this->desktop->get_display_area(); local
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(); local
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
[all...]

Completed in 14 milliseconds