Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
nr-filter-utils.h File Reference

Definition of functions needed by several filters. More...

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::Filters
 

Functions

int Inkscape::Filters::clamp (int const val)
 Clamps an integer value to a value between 0 and 255.
 
int Inkscape::Filters::clamp3 (int const val)
 Clamps an integer value to a value between 0 and 255^3.
 
int Inkscape::Filters::clamp_alpha (int const val, int const alpha)
 Clamps an integer to a value between 0 and alpha.
 

Detailed Description

Definition of functions needed by several filters.

Definition in file nr-filter-utils.h.