Logo Search packages:      
Sourcecode: inkscape version File versions

nr-filter-utils.h File Reference

Detailed Description

filter utils. Definition of functions needed by several filters.

Authors: Jean-Rene Reinhard <jr@komite.net>

Copyright (C) 2007 authors

Released under GNU GPL, read the file 'COPYING' for more information

Definition in file nr-filter-utils.h.

#include "round.h"

Go to the source code of this file.


namespace  NR


#define CLAMP_D_TO_U8(v)   (unsigned char) clamp((int)round((v)))


int NR::clamp (int const val)
int NR::clamp3 (int const val)
int NR::clamp_alpha (int const val, int const alpha)

Generated by  Doxygen 1.6.0   Back to index