Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
sp-ellipse.cpp File Reference

Go to the source code of this file.

Functions

static double vectorStretch (Geom::Point const &n, Geom::Affine const &trans)
 Returns the ratio in which a unit vector n is stretched by transform.
 

Function Documentation

◆ vectorStretch()

static double vectorStretch ( Geom::Point const &  n,
Geom::Affine const &  trans 
)
static

Returns the ratio in which a unit vector n is stretched by transform.

Definition at line 694 of file sp-ellipse.cpp.

References Geom::Affine::withoutTranslation().

Referenced by SPGenericEllipse::getVisibleRx(), SPGenericEllipse::getVisibleRy(), SPGenericEllipse::setVisibleRx(), and SPGenericEllipse::setVisibleRy().