#include <kis_change_profile_visitor.h>
Public Member Functions | |
| KisChangeProfileVisitor (KisColorSpace *oldColorSpace, KisColorSpace *dstColorSpace) | |
| virtual bool | visit (KisPaintLayer *layer) |
| virtual bool | visit (KisGroupLayer *layer) |
| virtual bool | visit (KisPartLayer *layer) |
| virtual bool | visit (KisAdjustmentLayer *layer) |
Detailed Description
The Change Profile visitor walks over all layers and if the current layer has the specified colorspace AND the specified old profile, sets the colorspace to the same colorspace with the NEW profile, without doing conversions.
This is essential if you have loaded an image that didn't have an embedded profile to which you want to attach the right profile.
Definition at line 36 of file kis_change_profile_visitor.h.
Constructor & Destructor Documentation
◆ KisChangeProfileVisitor()
| KisChangeProfileVisitor::KisChangeProfileVisitor | ( | KisColorSpace * | oldColorSpace, |
| KisColorSpace * | dstColorSpace ) |
Definition at line 52 of file kis_change_profile_visitor.h.
◆ ~KisChangeProfileVisitor()
|
virtual |
Definition at line 60 of file kis_change_profile_visitor.h.
Member Function Documentation
◆ visit() [1/4]
|
virtual |
Definition at line 101 of file kis_change_profile_visitor.h.
◆ visit() [2/4]
|
virtual |
Definition at line 64 of file kis_change_profile_visitor.h.
◆ visit() [3/4]
|
virtual |
Definition at line 78 of file kis_change_profile_visitor.h.
◆ visit() [4/4]
|
virtual |
Definition at line 95 of file kis_change_profile_visitor.h.
The documentation for this class was generated from the following file:
