2#ifndef INKSCAPE_LPE_RULER_H
3#define INKSCAPE_LPE_RULER_H
24namespace LivePathEffect {
Adaptor that creates 2D functions from 1D ones.
Function defined as discrete pieces.
Two-dimensional point that doubles as a vector.
void doOnApply(SPLPEItem const *lpeitem) override
Is performed a single time when the effect is freshly applied to a path.
LPERuler & operator=(const LPERuler &)=delete
static Geom::Point n_minor
static Geom::Point n_major
Geom::Piecewise< Geom::D2< Geom::SBasis > > ruler_mark(Geom::Point const &A, Geom::Point const &n, MarkType const &marktype)
Geom::Piecewise< Geom::D2< Geom::SBasis > > doEffect_pwd2(Geom::Piecewise< Geom::D2< Geom::SBasis > > const &pwd2_in) override
EnumParam< MarkDirType > mark_dir
ScalarParam major_mark_gap
LPERuler(const LPERuler &)=delete
ScalarParam minor_mark_length
EnumParam< BorderMarkType > border_marks
ScalarParam minor_mark_gap
ScalarParam mark_distance
ScalarParam major_mark_steps
Helper class to stream background task notifications as a series of messages.