Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
agg::saturation< Limit > Struct Template Reference

#include <src/agg/agg_basics.h>

Static Public Member Functions

static AGG_INLINE int iround (double v)
 

Detailed Description

template<int Limit>
struct agg::saturation< Limit >

Member Function Documentation

◆ iround()

template<int Limit>
static AGG_INLINE int agg::saturation< Limit >::iround ( double  v)
inlinestatic
219 {
220 if(v < double(-Limit)) return -Limit;
221 if(v > double( Limit)) return Limit;
222 return agg::iround(v);
223 }
AGG_INLINE int iround(double v)
Definition agg_basics.h:188

References agg::iround().

Referenced by agg::ras_conv_int_sat::mul_div(), and agg::ras_conv_int_sat::upscale().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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