Changeset View
Changeset View
Standalone View
Standalone View
libs/libkis/Node.h
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | 44 | public Q_SLOTS: | |||
---|---|---|---|---|---|
141 | */ | 141 | */ | ||
142 | QString colorProfile() const; | 142 | QString colorProfile() const; | ||
143 | 143 | | |||
144 | /** | 144 | /** | ||
145 | * @brief setColorProfile set the color profile of the image to the given profile. The profile has to | 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 | 146 | * be registered with krita and be compatible with the current color model and depth; the image data | ||
147 | * is <i>not</i> converted. | 147 | * is <i>not</i> converted. | ||
148 | * @param colorProfile | 148 | * @param colorProfile | ||
149 | * @return if assigining the colorprofiel worked | 149 | * @return if assigning the color profile worked | ||
150 | */ | 150 | */ | ||
151 | bool setColorProfile(const QString &colorProfile); | 151 | bool setColorProfile(const QString &colorProfile); | ||
152 | 152 | | |||
153 | /** | 153 | /** | ||
154 | * @brief setColorSpace convert the node to the given colorspace | 154 | * @brief setColorSpace convert the node to the given colorspace | ||
155 | * @param colorModel A string describing the color model of the node: | 155 | * @param colorModel A string describing the color model of the node: | ||
156 | * <ul> | 156 | * <ul> | ||
157 | * <li>A: Alpha mask</li> | 157 | * <li>A: Alpha mask</li> | ||
▲ Show 20 Lines • Show All 290 Lines • ▼ Show 20 Line(s) | |||||
448 | QPoint position() const; | 448 | QPoint position() const; | ||
449 | 449 | | |||
450 | /** | 450 | /** | ||
451 | * @brief remove removes this node from its parent image. | 451 | * @brief remove removes this node from its parent image. | ||
452 | */ | 452 | */ | ||
453 | bool remove(); | 453 | bool remove(); | ||
454 | 454 | | |||
455 | /** | 455 | /** | ||
456 | * @brief duplicate returns a full copy of the current node. The node is not inserted in the graphc | 456 | * @brief duplicate returns a full copy of the current node. The node is not inserted in the graphic | ||
457 | * @return a valid Node object or 0 if the node couldn't be duplicated. | 457 | * @return a valid Node object or 0 if the node couldn't be duplicated. | ||
458 | */ | 458 | */ | ||
459 | Node* duplicate(); | 459 | Node* duplicate(); | ||
460 | 460 | | |||
461 | /** | 461 | /** | ||
462 | * @brief save exports the given node with this filename. The extension of the filename determines the filetype. | 462 | * @brief save exports the given node with this filename. The extension of the filename determines the filetype. | ||
463 | * @param filename the filename including extension | 463 | * @param filename the filename including extension | ||
464 | * @param xRes the horizontal resolution in pixels per pt (there are 72 pts in an inch) | 464 | * @param xRes the horizontal resolution in pixels per pt (there are 72 pts in an inch) | ||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |