Krita
Document.h
157 * @brief setColorProfile set the color profile of the image to the given profile. The profile has to
158 * be registered with krita and be compatible with the current color model and depth; the image data
161 * @return false if the colorProfile name does not correspond to to a registered profile or if assigning
167 * @brief setColorSpace convert the nodes and the image to the given colorspace. The conversion is
168 * done with Perceptual as intent, High Quality and No LCMS Optimizations as flags and no blackpoint
191 bool setColorSpace(const QString &colorModel, const QString &colorDepth, const QString &colorProfile);
202 * @brief setBackgroundColor sets the background color of the document. It will trigger a projection
212 * @return a string containing a valid XML document with the right information about the document
219 * <!DOCTYPE document-info PUBLIC '-//KDE//DTD document-info 1.1//EN' 'http://www.calligra.org/DTD/document-info-1.1.dtd'>
257 * @param document A string containing a valid XML document that conforms to the document-info DTD
280 * @brief setHeight resize the document to @param value height. This is a canvas resize, not a scale.
290 * @brief setName sets the name of the document to @p value. This is the title field in the @ref documentInfo
329 * @brief setWidth resize the document to @param value width. This is a canvas resize, not a scale.
402 * and the struct module to interpret the data and construct, for instance, a Pillow Image object.
495 * @param strategy the scaling strategy. There's several ones amongst these that aren't available in the regular UI.
499 * <li>Bicubic - Adds pixels using the color of surrounding pixels. Produces smoother tonal gradations than Bilinear.</li>
500 * <li>Box - Replicate pixels in the image. Preserves all the original detail, but can produce jagged effects.</li>
501 * <li>Bilinear - Adds pixels averaging the color values of surrounding pixels. Produces medium quality results when the image is scaled from half to two times the original size.</li>
504 * <li>Kanczos3 - Offers similar results than Bicubic, but maybe a little bit sharper. Can produce light and dark halos along strong edges.</li>
597 * can be "Bicubic", "Hermite", "NearestNeighbor", "Bilinear", "Bell", "BSpline", "Lanczos3", "Mitchell"
600 FileLayer* createFileLayer(const QString &name, const QString fileName, const QString scalingMethod, const QString scalingFilter = "Bicubic");
634 FillLayer* createFillLayer(const QString &name, const QString generatorName, InfoObject &configuration, Selection &selection);
654 * Creates a filter mask object that much like a filterlayer can apply a filter non-destructively.
664 * Creates a filter mask object that much like a filterlayer can apply a filter non-destructively.
670 FilterMask* createFilterMask(const QString &name, Filter &filter, const Node* selection_source);
804 * @param modified if true, the document is considered modified and closing it will ask for saving.
921 void setAnnotation(const QString &type, const QString &description, const QByteArray &annotation);
932 * It means that even when autosave is set to True, under condition Krita will not proceed to automatic save of document:
936 * Being able to deactivate autosave on a document can make sense when a plugin use internal document
The CloneLayer class A clone layer is a layer that takes a reference inside the image and shows the e...
Definition CloneLayer.h:26
The ColorizeMask class A colorize mask is a mask type node that can be used to color in line art.
Definition ColorizeMask.h:60
The FileLayer class A file layer is a layer that can reference an external image and show said refere...
Definition FileLayer.h:27
The FillLayer class A fill layer is much like a filter layer in that it takes a name and filter.
Definition FillLayer.h:25
The FilterLayer class A filter layer will, when compositing, take the composited image up to the poin...
Definition FilterLayer.h:34
The FilterMask class A filter mask, unlike a filter layer, will add a non-destructive filter to the c...
Definition FilterMask.h:29
The GroupLayer class A group layer is a layer that can contain other layers.
Definition GroupLayer.h:30
The GuidesConfig class encapsulates a Krita Guides configuration.
Definition GuidesConfig.h:20
Krita is a singleton class that offers the root access to the Krita object hierarchy.
Definition Krita.h:28
The SelectionMask class A selection mask is a mask type node that can be used to store selections.
Definition SelectionMask.h:27
The Shape class The shape class is a wrapper around Krita's vector objects.
Definition Shape.h:38
The TransformMask class A transform mask is a mask type node that can be used to store transformation...
Definition TransformMask.h:23
The TransparencyMask class A transparency mask is a mask type node that can be used to show and hide ...
Definition TransparencyMask.h:24
The VectorLayer class A vector layer is a special layer that stores and shows vector shapes.
Definition VectorLayer.h:32
void stop(Ekos::AlignState mode)
Q_SCRIPTABLE Q_NOREPLY void start()
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:35:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:35:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.