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

Public Member Functions

int operator() (int value)
 

Static Public Attributes

static const bool supportsCaching = true
 

Detailed Description

Definition at line 117 of file kis_ls_bevel_emboss_filter.cpp.

Member Function Documentation

◆ operator()()

int HighlightsFetchOp::operator() ( int value)
inline

Definition at line 120 of file kis_ls_bevel_emboss_filter.cpp.

120 {
121 return qRound(qMax(0, value - 127) * (255.0 / (255 - 127)));
122 }
float value(const T *src, size_t ch)

References value().

Member Data Documentation

◆ supportsCaching

const bool HighlightsFetchOp::supportsCaching = true
static

Definition at line 118 of file kis_ls_bevel_emboss_filter.cpp.


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