Krita
Node.h
40 * @brief alphaLocked checks whether the node is a paint layer and returns whether it is alpha locked
51 * @return the blending mode of the layer. The values of the blending modes are defined in @see KoCompositeOpRegistry.h
75 * @return returns a list of child nodes of the current node. The nodes are ordered from the bottommost up.
84 * @param partialMatch return if the name partially contains the string (case insensitive). Defaults to false.
87 * @return returns a list of child nodes and grand child nodes of the current node that match the search criteria.
89 QList<Node*> findChildNodes(const QString &name = QString(), bool recursive = false, bool partialMatch = false, const QString &type = QString(), int colorLabelIndex = 0) const;
145 * @brief setColorProfile set the color profile of the image to the given profile. The profile has to
146 * be registered with krita and be compatible with the current color model and depth; the image data
174 bool setColorSpace(const QString &colorModel, const QString &colorDepth, const QString &colorProfile);
326 * exist, and returns it as a byte array. The pixel data starts top-left, and is ordered row-first.
350 * and the struct module to interpret the data and construct, for instance, a Pillow Image object.
352 * If you read the pixeldata of a mask, a filter or generator layer, you get the selection bytes,
356 * with setPixelData(). This will only succeed on nodes with writable pixel data, e.g not on groups
369 * @brief pixelDataAtTime a basic function to get pixeldata from an animated node at a given time.
380 * @brief projectionPixelData reads the given rectangle from the Node's projection (that is, what the node
381 * looks like after all sub-Nodes (like layers in a group or masks on a layer) have been applied,
406 * and the struct module to interpret the data and construct, for instance, a Pillow Image object.
412 * with setPixelData(). This will only succeed on nodes with writable pixel data, e.g not on groups
473 * @brief duplicate returns a full copy of the current node. The node is not inserted in the graphic
479 * @brief save exports the given node with this filename. The extension of the filename determines the filetype.
485 * If \p exportRect is empty, then save exactBounds() of the node. If you'd like to save the image-
490 bool save(const QString &filename, double xRes, double yRes, const InfoObject &exportConfiguration, const QRect &exportRect = QRect());
493 * @brief mergeDown merges the given node with the first visible node underneath this node in the layerstack.
503 * @param strategy the scaling strategy. There's several ones amongst these that aren't available in the regular UI.
506 * <li>Bicubic - Adds pixels using the color of surrounding pixels. Produces smoother tonal gradations than Bilinear.</li>
507 * <li>Box - Replicate pixels in the image. Preserves all the original detail, but can produce jagged effects.</li>
508 * <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>
511 * <li>Lanczos3 - Offers similar results than Bicubic, but maybe a little bit sharper. Can produce light and dark halos along strong edges.</li>
Q_SLOTSQ_SLOTS
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 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
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)
QObject * parent() const const
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 Fri Sep 29 2023 04:08:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 29 2023 04:08:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.