27 #ifndef PATHALONGPATH_H
28 #define PATHALONGPATH_H
30 #include "pluginapi.h"
32 #include "selection.h"
34 #if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
35 #define _USE_MATH_DEFINES
38 #include "third_party/lib2geom/d2.h"
39 #include "third_party/lib2geom/piecewise.h"
40 #include "third_party/lib2geom/sbasis.h"
41 #include "third_party/lib2geom/sbasis-geometric.h"
42 #include "third_party/lib2geom/bezier-to-sbasis.h"
43 #include "third_party/lib2geom/sbasis-to-bezier.h"
44 #include "third_party/lib2geom/utils.h"
45 #include "third_party/lib2geom/path.h"
46 #include "third_party/lib2geom/sbasis-2d.h"
47 #include "third_party/lib2geom/scribushelper.h"
63 virtual bool run(
ScribusDoc* doc, QString target = QString::null);
64 virtual const QString fullTrName()
const;
65 virtual const AboutData* getAboutData()
const;
66 virtual void deleteAboutData(
const AboutData* about)
const;
67 virtual void languageChange();
69 bool handleSelection(
ScribusDoc* doc,
int SelectedType);
95 QList<FPointArray> originalPathG;
96 QList<double> originalRotG;
97 QList<double> originalXPosG;
98 QList<double> originalYPosG;
99 QList<double> originalXPosGi;
100 QList<double> originalYPosGi;
101 QList<double> originalWidthG;
102 QList<double> originalHeightG;
103 QList<double> originalWidth;
104 QList<double> originalHeight;
105 QList<PageItem *> patternItemG;
107 void updateEffectG(
int effectType,
double offset,
double offsetY,
double gap,
int rotate);
108 void updateEffect(
int effectType,
double offset,
double offsetY,
double gap,
int rotate);
113 extern "C" PLUGIN_API
int pathalongpath_getPluginAPIVersion();
114 extern "C" PLUGIN_API
ScPlugin* pathalongpath_getPlugin();
115 extern "C" PLUGIN_API
void pathalongpath_freePlugin(
ScPlugin* plugin);
A plug-in that performs a single action.
Definition: scplugin.h:248
Abstract super class for all Scribus plug-ins.
Definition: scplugin.h:90
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
Definition: piecewise.h:45
the Document Class
Definition: scribusdoc.h:90
virtual void addToMainWindowMenu(ScribusMainWindow *)
Allow plugins to add to a main menu.
Definition: pathalongpath.h:68
ScPlugin provides an interface to ask plugins for information about themselves.
Definition: scplugin.h:103
Definition: pageitem.h:92
Definition: fpointarray.h:42
This is a simple "PathAlongPath" plugin for Scribus 1.3 and later.
Definition: pathalongpath.h:55
Definition: interval.h:56