vector.h revision 507f5de177a9e789927e7ac3e80ac05b27720084
4b6d620057c6cbaf072607eda6d18a7934fc19c8johanengelen#ifndef INKSCAPE_LIVEPATHEFFECT_PARAMETER_VECTOR_H
4b6d620057c6cbaf072607eda6d18a7934fc19c8johanengelen#define INKSCAPE_LIVEPATHEFFECT_PARAMETER_VECTOR_H
4b6d620057c6cbaf072607eda6d18a7934fc19c8johanengelen * Inkscape::LivePathEffectParameters
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould * Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>
4b6d620057c6cbaf072607eda6d18a7934fc19c8johanengelen * Released under GNU GPL, read the file 'COPYING' for more information
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould inline const gchar *handleTip() const { return param_tooltip.c_str(); }
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould virtual bool param_readSVGValue(const gchar * strvalue);
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould void setValues(Geom::Point const &new_origin, Geom::Point const &new_vector) { setVector(new_vector); setOrigin(new_origin); };
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould void setVector(Geom::Point const &new_vector) { vector = new_vector; };
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould void setOrigin(Geom::Point const &new_origin) { origin = new_origin; };
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould void set_and_write_new_values(Geom::Point const &new_origin, Geom::Point const &new_vector);
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen virtual void param_transform_multiply(Geom::Affine const &postmul, bool set);
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould void set_vector_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color);
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould void set_origin_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color);
507f5de177a9e789927e7ac3e80ac05b27720084Johan B. C. Engelen virtual bool providesKnotHolderEntities() const { return true; }
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould virtual void addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item);
6c3e745a94ef6b25a4ef9f018d350a7535aa45afTed Gould /// The looks of the vector and origin knots oncanvas
4b6d620057c6cbaf072607eda6d18a7934fc19c8johanengelen} //namespace LivePathEffect
4b6d620057c6cbaf072607eda6d18a7934fc19c8johanengelen} //namespace Inkscape