Krita
Node.h
42 * @brief alphaLocked checks whether the node is a paint layer and returns whether it is alpha locked
53 * @return the blending mode of the layer. The values of the blending modes are defined in @see KoCompositeOpRegistry.h
77 * @return returns a list of child nodes of the current node. The nodes are ordered from the bottommost up.
86 * @param partialMatch return if the name partially contains the string (case insensitive). Defaults to false.
89 * @return returns a list of child nodes and grand child nodes of the current node that match the search criteria.
91 QList<Node*> findChildNodes(const QString &name = QString(), bool recursive = false, bool partialMatch = false, const QString &type = QString(), int colorLabelIndex = 0) const;
147 * @brief setColorProfile set the color profile of the image to the given profile. The profile has to
148 * be registered with krita and be compatible with the current color model and depth; the image data
176 bool setColorSpace(const QString &colorModel, const QString &colorDepth, const QString &colorProfile);
328 * exist, and returns it as a byte array. The pixel data starts top-left, and is ordered row-first.
352 * and the struct module to interpret the data and construct, for instance, a Pillow Image object.
354 * If you read the pixeldata of a mask, a filter or generator layer, you get the selection bytes,
358 * with setPixelData(). This will only succeed on nodes with writable pixel data, e.g not on groups
371 * @brief pixelDataAtTime a basic function to get pixeldata from an animated node at a given time.
382 * @brief projectionPixelData reads the given rectangle from the Node's projection (that is, what the node
383 * looks like after all sub-Nodes (like layers in a group or masks on a layer) have been applied,
408 * and the struct module to interpret the data and construct, for instance, a Pillow Image object.
414 * with setPixelData(). This will only succeed on nodes with writable pixel data, e.g not on groups
475 * @brief duplicate returns a full copy of the current node. The node is not inserted in the graphic
481 * @brief save exports the given node with this filename. The extension of the filename determines the filetype.
487 * If \p exportRect is empty, then save exactBounds() of the node. If you'd like to save the image-
492 bool save(const QString &filename, double xRes, double yRes, const InfoObject &exportConfiguration, const QRect &exportRect = QRect());
495 * @brief mergeDown merges the given node with the first visible node underneath this node in the layerstack.
505 * @param strategy the scaling strategy. There's several ones amongst these that aren't available in the regular UI.
508 * <li>Bicubic - Adds pixels using the color of surrounding pixels. Produces smoother tonal gradations than Bilinear.</li>
509 * <li>Box - Replicate pixels in the image. Preserves all the original detail, but can produce jagged effects.</li>
510 * <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>
513 * <li>Lanczos3 - Offers similar results than Bicubic, but maybe a little bit sharper. Can produce light and dark halos along strong edges.</li>
544 * QImage is created. If the current node cannot generate a thumbnail, a transparent QImage of the
681 * @brief paintAbility can be used to determine whether this node can be painted on with the current brush preset.
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 SelectionMask class A selection mask is a mask type node that can be used to store selections.
Definition SelectionMask.h:27
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
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.