#include "livarot/path-description.h"
{
return new PathDescrMoveTo(*this);
}
{
}
{
p = p * t;
}
{
/* localizing ok */
}
{
}
{
return new PathDescrLineTo(*this);
}
{
p = p * t;
}
{
/* localizing ok */
}
{
return new PathDescrBezierTo(*this);
}
{
p = p * t;
}
{
/* localizing ok */
}
{
return new PathDescrIntermBezierTo(*this);
}
{
p = p * t;
}
{
/* localizing ok */
}
{
s << "C "
<< p[Geom::X] << " "
<< p[Geom::Y] << " ";
}
{
return new PathDescrCubicTo(*this);
}
{
/* localizing ok */
s << " c "
}
{
p = p * t;
}
{
s << "A "
<< rx << " "
<< ry << " "
<< angle << " "
<< p[Geom::X] << " "
<< p[Geom::Y] << " ";
}
{
return new PathDescrArcTo(*this);
}
{
p = p * t;
}
{
/* localizing ok */
s << " a "
<< angle << " "
<< (large ? 1 : 0);
}
{
return new PathDescrForced(*this);
}
{
s << "z ";
}
{
return new PathDescrClose(*this);
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :