Changeset View
Changeset View
Standalone View
Standalone View
plugins/extensions/pykrita/sip/krita/Document.sip
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 15 | public Q_SLOTS: | |||
---|---|---|---|---|---|
56 | void flatten(); | 56 | void flatten(); | ||
57 | void resizeImage(int x, int y, int w, int h); | 57 | void resizeImage(int x, int y, int w, int h); | ||
58 | void scaleImage(int w, int h, int xres, int yres, QString strategy); | 58 | void scaleImage(int w, int h, int xres, int yres, QString strategy); | ||
59 | void rotateImage(double radians); | 59 | void rotateImage(double radians); | ||
60 | void shearImage(double angleX, double angleY); | 60 | void shearImage(double angleX, double angleY); | ||
61 | bool save(); | 61 | bool save(); | ||
62 | bool saveAs(const QString & filename); | 62 | bool saveAs(const QString & filename); | ||
63 | Node *createNode(const QString & name, const QString & nodeType) /Factory/; | 63 | Node *createNode(const QString & name, const QString & nodeType) /Factory/; | ||
64 | GroupLayer *createGroupLayer(const QString &name) /Factory/; | ||||
65 | CloneLayer *createCloneLayer(const QString &name, const Node *source) /Factory/; | ||||
66 | FilterLayer *createFilterLayer(const QString &name, Filter &filter, Selection &selection) /Factory/; | ||||
67 | FillLayer *createFillLayer(const QString &name, const QString filterName, InfoObject &configuration, Selection &selection) /Factory/; | ||||
68 | VectorLayer *createVectorLayer(const QString &name) /Factory/; | ||||
69 | FilterMask *createFilterMask(const QString &name, Filter &filter) /Factory/; | ||||
70 | SelectionMask *createSelectionMask(const QString &name) /Factory/; | ||||
64 | QImage projection(int x = 0, int y = 0, int w = 0, int h = 0) const; | 71 | QImage projection(int x = 0, int y = 0, int w = 0, int h = 0) const; | ||
65 | QImage thumbnail(int w, int h) const; | 72 | QImage thumbnail(int w, int h) const; | ||
66 | void lock(); | 73 | void lock(); | ||
67 | void unlock(); | 74 | void unlock(); | ||
68 | void waitForDone(); | 75 | void waitForDone(); | ||
69 | bool tryBarrierLock(); | 76 | bool tryBarrierLock(); | ||
70 | bool isIdle(); | 77 | bool isIdle(); | ||
71 | void refreshProjection(); | 78 | void refreshProjection(); | ||
72 | void setHorizontalGuides(const QList<qreal> &lines); | 79 | void setHorizontalGuides(const QList<qreal> &lines); | ||
73 | void setVerticalGuides(const QList<qreal> &lines); | 80 | void setVerticalGuides(const QList<qreal> &lines); | ||
74 | void setGuidesVisible(bool visible); | 81 | void setGuidesVisible(bool visible); | ||
75 | void setGuidesLocked(bool locked); | 82 | void setGuidesLocked(bool locked); | ||
76 | private: | 83 | private: | ||
77 | 84 | | |||
78 | }; | 85 | }; |