lpe-patternalongpath.h revision 06d715aa150c39ce67c1a0d7e9d22d3cd7288e6e
469N/A#ifndef INKSCAPE_LPE_PATTERN_ALONG_PATH_H
469N/A#define INKSCAPE_LPE_PATTERN_ALONG_PATH_H
469N/A
1068N/A/*
1068N/A * Inkscape::LPEPatternAlongPath
1068N/A *
1068N/A* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
1068N/A *
1068N/A * Released under GNU GPL, read the file 'COPYING' for more information
1068N/A */
1068N/A
1068N/A#include "live_effects/parameter/enum.h"
1068N/A#include "live_effects/effect.h"
469N/A#include "live_effects/parameter/path.h"
919N/A#include "live_effects/parameter/bool.h"
919N/A#include "live_effects/parameter/point.h"
919N/A
919N/Anamespace Inkscape {
919N/Anamespace LivePathEffect {
919N/A
919N/Anamespace WPAP {
919N/Aclass KnotHolderEntityWidthPatternAlongPath;
919N/A}
919N/A
469N/Aenum PAPCopyType {
919N/A PAPCT_SINGLE = 0,
919N/A PAPCT_SINGLE_STRETCHED,
919N/A PAPCT_REPEATED,
919N/A PAPCT_REPEATED_STRETCHED,
919N/A PAPCT_END // This must be last
919N/A};
919N/A
469N/Aclass LPEPatternAlongPath : public Effect {
469N/Apublic:
1068N/A LPEPatternAlongPath(LivePathEffectObject *lpeobject);
469N/A virtual ~LPEPatternAlongPath();
469N/A
469N/A virtual void doBeforeEffect (SPLPEItem const* lpeitem);
469N/A
469N/A virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
469N/A
469N/A virtual void transform_multiply(Geom::Affine const& postmul, bool set);
1233N/A
1233N/A void addCanvasIndicators(SPLPEItem const */*lpeitem*/, std::vector<Geom::PathVector> &hp_vec);
1233N/A
1233N/A virtual void addKnotHolderEntities(KnotHolder * knotholder, SPDesktop * desktop, SPItem * item);
1233N/A
469N/A PathParam pattern;
469N/A
469N/A friend class WPAP::KnotHolderEntityWidthPatternAlongPath;
469N/Aprotected:
469N/A double original_height;
469N/A ScalarParam prop_scale;
469N/A
469N/Aprivate:
469N/A EnumParam<PAPCopyType> copytype;
469N/A BoolParam scale_y_rel;
469N/A ScalarParam spacing;
469N/A ScalarParam normal_offset;
469N/A ScalarParam tang_offset;
469N/A BoolParam prop_units;
469N/A BoolParam vertical_pattern;
469N/A ScalarParam fuse_tolerance;
469N/A void on_pattern_pasted();
469N/A
469N/A LPEPatternAlongPath(const LPEPatternAlongPath&);
469N/A LPEPatternAlongPath& operator=(const LPEPatternAlongPath&);
469N/A};
469N/A
469N/A}; //namespace LivePathEffect
469N/A}; //namespace Inkscape
469N/A
469N/A#endif
469N/A
469N/A/*
469N/A Local Variables:
469N/A mode:c++
469N/A c-file-style:"stroustrup"
469N/A c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
469N/A indent-tabs-mode:nil
1233N/A fill-column:99
1233N/A End:
1233N/A*/
1233N/A// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
1233N/A