Krita
Document.h
156 * @brief setColorProfile set the color profile of the image to the given profile. The profile has to
157 * be registered with krita and be compatible with the current color model and depth; the image data
160 * @return false if the colorProfile name does not correspond to to a registered profile or if assigning
166 * @brief setColorSpace convert the nodes and the image to the given colorspace. The conversion is
167 * done with Perceptual as intent, High Quality and No LCMS Optimizations as flags and no blackpoint
190 bool setColorSpace(const QString &colorModel, const QString &colorDepth, const QString &colorProfile);
201 * @brief setBackgroundColor sets the background color of the document. It will trigger a projection
211 * @return a string containing a valid XML document with the right information about the document
218 * <!DOCTYPE document-info PUBLIC '-//KDE//DTD document-info 1.1//EN' 'http://www.calligra.org/DTD/document-info-1.1.dtd'>
256 * @param document A string containing a valid XML document that conforms to the document-info DTD
279 * @brief setHeight resize the document to @param value height. This is a canvas resize, not a scale.
289 * @brief setName sets the name of the document to @p value. This is the title field in the @ref documentInfo
328 * @brief setWidth resize the document to @param value width. This is a canvas resize, not a scale.
401 * and the struct module to interpret the data and construct, for instance, a Pillow Image object.
494 * @param strategy the scaling strategy. There's several ones amongst these that aren't available in the regular UI.
498 * <li>Bicubic - Adds pixels using the color of surrounding pixels. Produces smoother tonal gradations than Bilinear.</li>
499 * <li>Box - Replicate pixels in the image. Preserves all the original detail, but can produce jagged effects.</li>
500 * <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>
503 * <li>Kanczos3 - Offers similar results than Bicubic, but maybe a little bit sharper. Can produce light and dark halos along strong edges.</li>
596 * can be "Bicubic", "Hermite", "NearestNeighbor", "Bilinear", "Bell", "BSpline", "Lanczos3", "Mitchell"
599 FileLayer* createFileLayer(const QString &name, const QString fileName, const QString scalingMethod, const QString scalingFilter = "Bicubic");
633 FillLayer* createFillLayer(const QString &name, const QString generatorName, InfoObject &configuration, Selection &selection);
653 * Creates a filter mask object that much like a filterlayer can apply a filter non-destructively.
663 * Creates a filter mask object that much like a filterlayer can apply a filter non-destructively.
669 FilterMask* createFilterMask(const QString &name, Filter &filter, const Node* selection_source);
803 * @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);
Q_SLOTSQ_SLOTS
void stop(Ekos::AlignState mode)
Q_SCRIPTABLE Q_NOREPLY void start()
The ColorizeMask class A colorize mask is a mask type node that can be used to color in line art.
Definition: ColorizeMask.h:59
The GroupLayer class A group layer is a layer that can contain other layers.
Definition: GroupLayer.h:29
The Shape class The shape class is a wrapper around Krita's vector objects.
Definition: Shape.h:37
The TransformMask class A transform mask is a mask type node that can be used to store transformation...
Definition: TransformMask.h:22
The SelectionMask class A selection mask is a mask type node that can be used to store selections.
Definition: SelectionMask.h:26
The CloneLayer class A clone layer is a layer that takes a reference inside the image and shows the e...
Definition: CloneLayer.h:25
Krita is a singleton class that offers the root access to the Krita object hierarchy.
Definition: Krita.h:27
The TransparencyMask class A transparency mask is a mask type node that can be used to show and hide ...
Definition: TransparencyMask.h:23
The FillLayer class A fill layer is much like a filter layer in that it takes a name and filter.
Definition: FillLayer.h:24
The FileLayer class A file layer is a layer that can reference an external image and show said refere...
Definition: FileLayer.h:26
The VectorLayer class A vector layer is a special layer that stores and shows vector shapes.
Definition: VectorLayer.h:31
The FilterMask class A filter mask, unlike a filter layer, will add a non-destructive filter to the c...
Definition: FilterMask.h:28
Q_DISABLE_COPY(Class)
The FilterLayer class A filter layer will, when compositing, take the composited image up to the poin...
Definition: FilterLayer.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:08:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:08:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.