MCPcopy Create free account
hub / github.com/MapServer/MapServer / iround

Method iround

renderers/agg/include/agg_basics.h:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 template<int Limit> struct saturation
192 {
193 AGG_INLINE static int iround(double v)
194 {
195 if(v < double(-Limit)) return -Limit;
196 if(v > double( Limit)) return Limit;
197 return mapserver::iround(v);
198 }
199 };
200
201 //------------------------------------------------------------------mul_one

Callers

nothing calls this directly

Calls 1

iroundFunction · 0.85

Tested by

no test coverage detected