digiKam
|
Public Member Functions | |
void | clear () |
void | clearFrom (int level) |
DImg | getData (int level) const |
bool | putData (int level, const DImg &img) const |
UndoCache () | |
~UndoCache () | |
|
explicit |
Digikam::UndoCache::~UndoCache | ( | ) |
References clear().
void Digikam::UndoCache::clear | ( | ) |
Delete all cache files
Referenced by ~UndoCache().
void Digikam::UndoCache::clearFrom | ( | int | level | ) |
Delete all cache files starting from the given level upwards
DImg Digikam::UndoCache::getData | ( | int | level | ) | const |
Get the image data from a cache file
References Digikam::DImg::bits(), Digikam::DImg::isNull(), and Digikam::DImg::numBytes().
bool Digikam::UndoCache::putData | ( | int | level, |
const DImg & | img | ||
) | const |
Write the image data into a cache file
References Digikam::DImg::bits(), Digikam::DImg::hasAlpha(), Digikam::DImg::height, Digikam::DImg::numBytes(), Digikam::DImg::sixteenBit, and Digikam::DImg::width.