Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
agg::sRGB_conv_base< T > Class Template Reference

#include <src/agg/agg_gamma_lut.h>

+ Inheritance diagram for agg::sRGB_conv_base< T >:
+ Collaboration diagram for agg::sRGB_conv_base< T >:

Static Public Member Functions

static T rgb_from_sRGB (int8u x)
 
static int8u rgb_to_sRGB (T x)
 

Static Private Attributes

static sRGB_lut< T > lut
 

Detailed Description

template<class T>
class agg::sRGB_conv_base< T >

Member Function Documentation

◆ rgb_from_sRGB()

template<class T >
static T agg::sRGB_conv_base< T >::rgb_from_sRGB ( int8u  x)
inlinestatic
230 {
231 return lut.dir(x);
232 }
static sRGB_lut< T > lut
Definition agg_gamma_lut.h:240

References agg::sRGB_conv_base< T >::lut.

◆ rgb_to_sRGB()

template<class T >
static int8u agg::sRGB_conv_base< T >::rgb_to_sRGB ( x)
inlinestatic
235 {
236 return lut.inv(x);
237 }

References agg::sRGB_conv_base< T >::lut.

Member Data Documentation

◆ lut

template<class T >
sRGB_lut< T > agg::sRGB_conv_base< T >::lut
staticprivate

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