Inkscape
Vector Graphics Editor
|
Classes | |
class | DistantLight |
struct | DistantLightData |
class | Filter |
class | FilterBlend |
class | FilterColorMatrix |
class | FilterComponentTransfer |
class | FilterComposite |
class | FilterConvolveMatrix |
class | FilterDiffuseLighting |
class | FilterDisplacementMap |
class | FilterFlood |
class | FilterGaussian |
class | FilterImage |
class | FilterMerge |
class | FilterMorphology |
class | FilterOffset |
class | FilterPrimitive |
class | FilterSkeleton |
class | FilterSlot |
class | FilterSpecularLighting |
class | FilterTile |
class | FilterTurbulence |
class | FilterUnits |
class | PointLight |
struct | PointLightData |
class | SpotLight |
struct | SpotLightData |
Functions | |
static cairo_operator_t | get_cairo_op (SPBlendMode _blend_mode) |
static int | _effect_area_scr (double const deviation) |
static void | _make_kernel (FIRValue *const kernel, double const deviation) |
static int | _effect_subsample_step_log2 (double const deviation, int const quality) |
static void | calcFilter (double const sigma, double b[N]) |
static void | calcTriggsSdikaM (double const b[N], double M[N *N]) |
template<unsigned int SIZE> | |
static void | calcTriggsSdikaInitialization (double const M[N *N], IIRValue const uold[N][SIZE], IIRValue const uplus[SIZE], IIRValue const vplus[SIZE], IIRValue const alpha, IIRValue vold[N][SIZE]) |
template<typename PT , unsigned int PC, bool PREMULTIPLIED_ALPHA> | |
static void | filter2D_IIR (PT *const dest, int const dstr1, int const dstr2, PT const *const src, int const sstr1, int const sstr2, int const n1, int const n2, IIRValue const b[N+1], double const M[N *N], IIRValue *const tmpdata[], dispatch_pool &pool) |
template<typename PT , unsigned int PC> | |
static void | filter2D_FIR (PT *const dst, int const dstr1, int const dstr2, PT const *const src, int const sstr1, int const sstr2, int const n1, int const n2, FIRValue const *const kernel, int const scr_len, dispatch_pool &pool) |
static void | gaussian_pass_IIR (Geom::Dim2 d, double deviation, cairo_surface_t *src, cairo_surface_t *dest, IIRValue **tmpdata, dispatch_pool &pool) |
static void | gaussian_pass_FIR (Geom::Dim2 d, double deviation, cairo_surface_t *src, cairo_surface_t *dest, dispatch_pool &pool) |
int | clamp (int const val) |
Clamps an integer value to a value between 0 and 255. | |
int | clamp3 (int const val) |
Clamps an integer value to a value between 0 and 255^3. | |
int | clamp_alpha (int const val, int const alpha) |
Clamps an integer to a value between 0 and alpha. | |
Enumerator | |
---|---|
COLORMATRIX_MATRIX | |
COLORMATRIX_SATURATE | |
COLORMATRIX_HUEROTATE | |
COLORMATRIX_LUMINANCETOALPHA | |
COLORMATRIX_ENDTYPE |
Definition at line 28 of file nr-filter-colormatrix.h.
Enumerator | |
---|---|
COMPONENTTRANSFER_TYPE_IDENTITY | |
COMPONENTTRANSFER_TYPE_TABLE | |
COMPONENTTRANSFER_TYPE_DISCRETE | |
COMPONENTTRANSFER_TYPE_LINEAR | |
COMPONENTTRANSFER_TYPE_GAMMA | |
COMPONENTTRANSFER_TYPE_ERROR |
Definition at line 24 of file nr-filter-component-transfer.h.
Enumerator | |
---|---|
CONVOLVEMATRIX_EDGEMODE_DUPLICATE | |
CONVOLVEMATRIX_EDGEMODE_WRAP | |
CONVOLVEMATRIX_EDGEMODE_NONE | |
CONVOLVEMATRIX_EDGEMODE_ENDTYPE |
Definition at line 24 of file nr-filter-convolve-matrix.h.
Enumerator | |
---|---|
MORPHOLOGY_OPERATOR_ERODE | |
MORPHOLOGY_OPERATOR_DILATE | |
MORPHOLOGY_OPERATOR_END |
Definition at line 23 of file nr-filter-morphology.h.
Definition at line 16 of file nr-filter-types.h.
Enumerator | |
---|---|
FILTER_QUALITY_BEST | |
FILTER_QUALITY_BETTER | |
FILTER_QUALITY_NORMAL | |
FILTER_QUALITY_WORSE | |
FILTER_QUALITY_WORST |
Definition at line 51 of file nr-filter-types.h.
Enumerator | |
---|---|
NR_FILTER_SLOT_NOT_SET | |
NR_FILTER_SOURCEGRAPHIC | |
NR_FILTER_SOURCEALPHA | |
NR_FILTER_BACKGROUNDIMAGE | |
NR_FILTER_BACKGROUNDALPHA | |
NR_FILTER_FILLPAINT | |
NR_FILTER_STROKEPAINT | |
NR_FILTER_UNNAMED_SLOT |
Definition at line 37 of file nr-filter-types.h.
Enumerator | |
---|---|
TURBULENCE_FRACTALNOISE | |
TURBULENCE_TURBULENCE | |
TURBULENCE_ENDTYPE |
Definition at line 35 of file nr-filter-turbulence.h.
Enumerator | |
---|---|
LIGHT_RED | |
LIGHT_GREEN | |
LIGHT_BLUE |
Definition at line 34 of file nr-light.h.
Enumerator | |
---|---|
NO_LIGHT | |
DISTANT_LIGHT | |
POINT_LIGHT | |
SPOT_LIGHT |
Definition at line 16 of file nr-light-types.h.
Enumerator | |
---|---|
ERODE | |
DILATE |
Definition at line 30 of file nr-filter-morphology.cpp.
Enumerator | |
---|---|
PRESERVE_ALPHA | |
NO_PRESERVE_ALPHA |
Definition at line 29 of file nr-filter-convolve-matrix.cpp.
|
static |
Definition at line 126 of file nr-filter-gaussian.cpp.
Referenced by _make_kernel(), Inkscape::Filters::FilterGaussian::area_enlarge(), Inkscape::Filters::FilterGaussian::complexity(), gaussian_pass_FIR(), and Inkscape::Filters::FilterGaussian::render_cairo().
|
static |
Definition at line 168 of file nr-filter-gaussian.cpp.
References BLUR_QUALITY_BEST, BLUR_QUALITY_BETTER, BLUR_QUALITY_NORMAL, BLUR_QUALITY_WORSE, BLUR_QUALITY_WORST, clip(), and log().
Referenced by Inkscape::Filters::FilterGaussian::render_cairo().
|
static |
Definition at line 132 of file nr-filter-gaussian.cpp.
References _effect_area_scr(), sqr(), and sum().
Referenced by gaussian_pass_FIR().
|
static |
Definition at line 210 of file nr-filter-gaussian.cpp.
References N, real, and sqr().
Referenced by gaussian_pass_IIR().
|
static |
Definition at line 259 of file nr-filter-gaussian.cpp.
|
static |
Definition at line 242 of file nr-filter-gaussian.cpp.
Referenced by gaussian_pass_IIR().
|
inline |
Clamps an integer value to a value between 0 and 255.
Needed by filters where rendering computations can lead to component values out of bound.
v | the value to clamp |
Definition at line 28 of file nr-filter-utils.h.
Referenced by Inkscape::Extension::Internal::svgConvertRGBToText().
|
inline |
Clamps an integer value to a value between 0 and 255^3.
v | the value to clamp |
Definition at line 40 of file nr-filter-utils.h.
|
inline |
Clamps an integer to a value between 0 and alpha.
Useful when handling images with premultiplied alpha, as setting some of RGB channels to a value bigger than alpha confuses the alpha blending in Inkscape
val | the value to clamp |
alpha | the maximum value to clamp to |
Definition at line 59 of file nr-filter-utils.h.
|
static |
Definition at line 349 of file nr-filter-gaussian.cpp.
References copy_n(), Inkscape::dispatch_pool::dispatch(), n1, n2, and sum().
|
static |
Definition at line 280 of file nr-filter-gaussian.cpp.
References c, copy_n(), Inkscape::dispatch_pool::dispatch(), N, n1, and n2.
|
static |
< Grayscale
< Premultiplied 8 bit RGBA
Definition at line 493 of file nr-filter-gaussian.cpp.
References _effect_area_scr(), _make_kernel(), stride, w, and Geom::X.
Referenced by Inkscape::Filters::FilterGaussian::render_cairo().
|
static |
< Grayscale
< Premultiplied 8 bit RGBA
Definition at line 448 of file nr-filter-gaussian.cpp.
References calcFilter(), calcTriggsSdikaM(), N, stride, w, and Geom::X.
Referenced by Inkscape::Filters::FilterGaussian::render_cairo().
|
inlinestatic |
Definition at line 52 of file nr-filter-blend.cpp.
References SP_CSS_BLEND_COLOR, SP_CSS_BLEND_COLORBURN, SP_CSS_BLEND_COLORDODGE, SP_CSS_BLEND_DARKEN, SP_CSS_BLEND_DIFFERENCE, SP_CSS_BLEND_EXCLUSION, SP_CSS_BLEND_HARDLIGHT, SP_CSS_BLEND_HUE, SP_CSS_BLEND_LIGHTEN, SP_CSS_BLEND_LUMINOSITY, SP_CSS_BLEND_MULTIPLY, SP_CSS_BLEND_NORMAL, SP_CSS_BLEND_OVERLAY, SP_CSS_BLEND_SATURATION, SP_CSS_BLEND_SCREEN, and SP_CSS_BLEND_SOFTLIGHT.
Referenced by Inkscape::Filters::FilterBlend::render_cairo().