Krita Source Code Documentation
Loading...
Searching...
No Matches
ShadowsFetchOp Struct Reference

Public Member Functions

int operator() (int value)
 

Static Public Attributes

static const bool supportsCaching = true
 

Detailed Description

Definition at line 125 of file kis_ls_bevel_emboss_filter.cpp.

Member Function Documentation

◆ operator()()

int ShadowsFetchOp::operator() ( int value)
inline

Definition at line 128 of file kis_ls_bevel_emboss_filter.cpp.

128 {
129 return 255 - qRound(qMin(value, 127) * (255.0 / 127.0));
130 }
float value(const T *src, size_t ch)

References value().

Member Data Documentation

◆ supportsCaching

const bool ShadowsFetchOp::supportsCaching = true
static

Definition at line 126 of file kis_ls_bevel_emboss_filter.cpp.


The documentation for this struct was generated from the following file: