Krita Source Code Documentation
Loading...
Searching...
No Matches
KisLodSwitchingWrapperDetail Namespace Reference

Functions

QPoint syncLodNValue (const QPoint &value, int lod)
 
template<typename T >
syncLodNValue (const T &value, int lod)
 
template<>
ToolTransformArgs syncLodNValue< ToolTransformArgs > (const ToolTransformArgs &value, int lod)
 

Function Documentation

◆ syncLodNValue() [1/2]

KRITAIMAGE_EXPORT QPoint KisLodSwitchingWrapperDetail::syncLodNValue ( const QPoint & value,
int lod )

Otherwise just use specialized functions for that

Definition at line 13 of file kis_lod_capable_layer_offset.cpp.

13 {
16}
float value(const T *src, size_t ch)
static int coordToLodCoord(int x, int lod)

References KisLodTransformBase::coordToLodCoord(), and value().

◆ syncLodNValue() [2/2]

template<typename T >
T KisLodSwitchingWrapperDetail::syncLodNValue ( const T & value,
int lod )
inline

By default forward the syncing request to the wrapped object itself.

Definition at line 21 of file kis_lod_capable_layer_offset.h.

21 {
22 return value.syncLodNValue(lod);
23}

References value().

◆ syncLodNValue< ToolTransformArgs >()