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  Inkscape
namespace  Inkscape::Filters


#define CLAMP_D_TO_U8(v)   (unsigned char) clamp((int)round((v)))
#define CLAMP_D_TO_U8_ALPHA(v, a)   (unsigned char) clamp_alpha((int)round((v)),(a))


 Inkscape::Filters::__attribute__ ((const)) inline int clamp(int const val)

Generated by  Doxygen 1.6.0   Back to index