Difference between revisions of "Creating Live Path Effects"

From Inkscape Wiki
Jump to navigation Jump to search
m (MakingAnLPE moved to MakingLivePathEffects: easier to understand)
Line 1: Line 1:
Instructions for making Live Path Effects
Instructions for making Live Path Effects.
 
Have a look at the doEffect functions of lpe-slant.cpp and lpe-skeleton.cpp to see what is possible and how to implement something!
 
Parameter types:
* RealParam: a number of type 'gdouble'. (see lpe-slant.cpp to learn how to use this type)
* PointParam: a parameter that describes a coordinate on the page (see lpe-skeletal.cpp to learn how to use this type)
* PathParam: a parameter that is a path. (see lpe-skeletal.cpp to learn how to use this type)
* EnumParam: a parameter that lets the user choose between a number of options from a dropdown box. (see lpe-skeletal.cpp to learn how to use this type)

Revision as of 22:54, 17 August 2007

Instructions for making Live Path Effects.

Have a look at the doEffect functions of lpe-slant.cpp and lpe-skeleton.cpp to see what is possible and how to implement something!

Parameter types:

  • RealParam: a number of type 'gdouble'. (see lpe-slant.cpp to learn how to use this type)
  • PointParam: a parameter that describes a coordinate on the page (see lpe-skeletal.cpp to learn how to use this type)
  • PathParam: a parameter that is a path. (see lpe-skeletal.cpp to learn how to use this type)
  • EnumParam: a parameter that lets the user choose between a number of options from a dropdown box. (see lpe-skeletal.cpp to learn how to use this type)