X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Flivarot%2FPath.h;h=8d7fd0a7e92167931076d53682fd9598bc3bafbf;hb=2717303e39af1fe525a83dc8e8e81bea8d5459eb;hp=291d8f1571266eb2b4da13fc379b3875d5ba481f;hpb=6a42f2166fad5a3bcef29732840b20451853bb75;p=inkscape.git diff --git a/src/livarot/Path.h b/src/livarot/Path.h index 291d8f157..8d7fd0a7e 100644 --- a/src/livarot/Path.h +++ b/src/livarot/Path.h @@ -15,6 +15,8 @@ #include "libnr/nr-point.h" #include +struct SPStyle; + /* * the Path class: a structure to hold path description and their polyline approximation (not kept in sync) * the path description is built with regular commands like MoveTo() LineTo(), etc @@ -170,6 +172,8 @@ public: // dash the polyline // the result is stored in the polyline, so you lose the original. make a copy before if needed void DashPolyline(float head,float tail,float body,int nbD,float *dashs,bool stPlain,float stOffset); + + void DashPolylineFromStyle(SPStyle *style, float scale, float min_len); //utilitaire pour inkscape void LoadArtBPath(void *iP,NR::Matrix const &tr,bool doTransformation);