7#ifndef __KIS_LOD_CAPABLE_LAYER_OFFSET_H
8#define __KIS_LOD_CAPABLE_LAYER_OFFSET_H
10#include "kritaimage_export.h"
22 return value.syncLodNValue(lod);
float value(const T *src, size_t ch)
virtual int currentLevelOfDetail() const =0
KisLodSwitchingWrapper(T &&initialValue, KisDefaultBoundsBaseSP defaultBounds)
LodState lodState() const
void setLodState(const LodState &state)
KisLodSwitchingWrapper(const KisLodSwitchingWrapper &rhs)
T * operator->() noexcept
std::pair< int, T > LodState
const T & operator*() const noexcept
const T * operator->() const noexcept
KisLodSwitchingWrapper(KisDefaultBoundsBaseSP defaultBounds)
KisDefaultBoundsBaseSP m_defaultBounds
KisLodSwitchingWrapper & operator=(const LodState &rhs)
KisLodSwitchingWrapper & operator=(const KisLodSwitchingWrapper &rhs)
void setDefaultBounds(KisDefaultBoundsBaseSP defaultBounds)
KisDefaultBoundsBaseSP defaultBounds() const
QPoint syncLodNValue(const QPoint &value, int lod)