Searched refs:filter (Results 1 - 25 of 65) sorted by relevance

123

/inkscape/share/patterns/
H A Di18n.py12 for filter in filters:
13 id = filter.getAttribute('id')
14 stockid = filter.getAttribute('inkscape:stockid')
/inkscape/share/filters/
H A Di18n.py8 filters = doc.getElementsByTagName('filter')
12 for filter in filters:
13 label = "N_(\"" + filter.getAttribute('inkscape:label') + "\")"
14 menu = "N_(\"" + filter.getAttribute('inkscape:menu') + "\")"
15 if (filter.getAttribute('inkscape:menu-tooltip')):
16 desc = "N_(\"" + filter.getAttribute('inkscape:menu-tooltip') + "\")"
/inkscape/src/
H A Dsp-filter.h2 * SVG <filter> element
20 #include "sp-filter-units.h"
80 void sp_filter_set_filter_units(SPFilter *filter, SPFilterUnits filterUnits);
81 void sp_filter_set_primitive_units(SPFilter *filter, SPFilterUnits filterUnits);
82 SPFilterPrimitive *add_primitive(SPFilter *filter, SPFilterPrimitive *primitive);
83 SPFilterPrimitive *get_primitive(SPFilter *filter, int index);
89 /// Returns the number of filter primitives in this SPFilter object.
90 int sp_filter_primitive_count(SPFilter *filter);
93 int sp_filter_get_image_name(SPFilter *filter, char const *name);
96 int sp_filter_set_image_name(SPFilter *filter, cha
[all...]
H A Dfilter-chemistry.h17 #include "display/nr-filter-types.h"
25 SPFilterPrimitive *filter_add_primitive(SPFilter *filter, Inkscape::Filters::FilterPrimitiveType);
32 bool filter_is_single_gaussian_blur(SPFilter *filter);
33 double get_single_gaussian_blur_radius(SPFilter *filter);
H A Dfilter-chemistry.cpp24 #include "filter-chemistry.h"
25 #include "filter-enums.h"
29 #include "sp-filter.h"
30 #include "sp-filter-reference.h"
36 * Count how many times the filter is used by the styles of o and its
39 static guint count_filter_hrefs(SPObject *o, SPFilter *filter) argument
48 && style->filter.set
49 && style->getFilter() == filter)
55 i += count_filter_hrefs(child, filter);
62 * Sets a suitable filter effect
127 filter_add_primitive(SPFilter *filter, const Inkscape::Filters::FilterPrimitiveType type) argument
382 SPFilter *filter = SP_FILTER(item->style->getFilter()); local
492 filter_is_single_gaussian_blur(SPFilter *filter) argument
499 get_single_gaussian_blur_radius(SPFilter *filter) argument
[all...]
H A Dsp-filter.cpp2 * SVG <filter> implementation.
27 #include "display/nr-filter.h"
29 #include "sp-filter.h"
30 #include "sp-filter-reference.h"
31 #include "sp-filter-primitive.h"
41 static void filter_ref_changed(SPObject *old_ref, SPObject *ref, SPFilter *filter);
42 static void filter_ref_modified(SPObject *href, guint flags, SPFilter *filter);
87 document->addResource("filter", this);
96 this->document->removeResource("filter", this);
196 * Returns the number of references to the filter
360 filter_ref_changed(SPObject *old_ref, SPObject *ref, SPFilter *filter) argument
376 filter_ref_modified(SPObject * , guint , SPFilter *filter) argument
440 sp_filter_primitive_count(SPFilter *filter) argument
452 sp_filter_get_image_name(SPFilter *filter, gchar const *name) argument
460 sp_filter_set_image_name(SPFilter *filter, gchar const *name) argument
476 sp_filter_name_for_image(SPFilter const *filter, int const image) argument
512 sp_filter_get_new_result_name(SPFilter *filter) argument
[all...]
H A Dstyle.h252 SPIFilter filter; member in class:SPStyle
256 filter when the style is used for querying */
258 /** enable-background, used for defining where filter effects get their background image */
297 SPObject *getFilter() { return (filter.href) ? filter.href->getObject() : NULL; }
298 SPObject const *getFilter() const { return (filter.href) ? filter.href->getObject() : NULL; }
299 char const *getFilterURI() const { return (filter.href) ? filter.href->getURI()->toString() : NULL; }
/inkscape/src/filters/
H A Dtile.cpp18 #include "display/nr-filter.h"
19 #include "display/nr-filter-tile.h"
84 void SPFeTile::build_renderer(Inkscape::Filters::Filter* filter) { argument
86 g_assert(filter != NULL);
88 int primitive_n = filter->add_primitive(Inkscape::Filters::NR_FILTER_TILE);
89 Inkscape::Filters::FilterPrimitive *nr_primitive = filter->get_primitive(primitive_n);
H A Doffset.cpp21 #include "display/nr-filter.h"
22 #include "display/nr-filter-offset.h"
109 void SPFeOffset::build_renderer(Inkscape::Filters::Filter* filter) { argument
111 g_assert(filter != NULL);
113 int primitive_n = filter->add_primitive(Inkscape::Filters::NR_FILTER_OFFSET);
114 Inkscape::Filters::FilterPrimitive *nr_primitive = filter->get_primitive(primitive_n);
H A Dmerge.cpp20 #include "display/nr-filter.h"
21 #include "display/nr-filter-merge.h"
84 void SPFeMerge::build_renderer(Inkscape::Filters::Filter* filter) { argument
86 g_assert(filter != NULL);
88 int primitive_n = filter->add_primitive(Inkscape::Filters::NR_FILTER_MERGE);
89 Inkscape::Filters::FilterPrimitive *nr_primitive = filter->get_primitive(primitive_n);
H A Dgaussian-blur.cpp25 #include "display/nr-filter.h"
26 #include "display/nr-filter-primitive.h"
27 #include "display/nr-filter-gaussian.h"
28 #include "display/nr-filter-types.h"
106 void SPGaussianBlur::build_renderer(Inkscape::Filters::Filter* filter) { argument
107 int handle = filter->add_primitive(Inkscape::Filters::NR_FILTER_GAUSSIANBLUR);
108 Inkscape::Filters::FilterPrimitive *nr_primitive = filter->get_primitive(handle);
H A Dcolormatrix.cpp25 #include "display/nr-filter.h"
26 #include "display/nr-filter-colormatrix.h"
137 void SPFeColorMatrix::build_renderer(Inkscape::Filters::Filter* filter) { argument
139 g_assert(filter != NULL);
141 int primitive_n = filter->add_primitive(Inkscape::Filters::NR_FILTER_COLORMATRIX);
142 Inkscape::Filters::FilterPrimitive *nr_primitive = filter->get_primitive(primitive_n);
H A Dflood.cpp23 #include "display/nr-filter.h"
24 #include "display/nr-filter-flood.h"
154 void SPFeFlood::build_renderer(Inkscape::Filters::Filter* filter) { argument
156 g_assert(filter != NULL);
158 int primitive_n = filter->add_primitive(Inkscape::Filters::NR_FILTER_FLOOD);
159 Inkscape::Filters::FilterPrimitive *nr_primitive = filter->get_primitive(primitive_n);
H A Dmorphology.cpp22 #include "display/nr-filter.h"
23 #include "display/nr-filter-morphology.h"
138 void SPFeMorphology::build_renderer(Inkscape::Filters::Filter* filter) { argument
140 g_assert(filter != NULL);
142 int primitive_n = filter->add_primitive(Inkscape::Filters::NR_FILTER_MORPHOLOGY);
143 Inkscape::Filters::FilterPrimitive *nr_primitive = filter->get_primitive(primitive_n);
H A Dblend.h2 * @brief SVG blend filter effect
16 #include "sp-filter-primitive.h"
17 #include "display/nr-filter-blend.h"
40 virtual void build_renderer(Inkscape::Filters::Filter* filter);
H A Dcolormatrix.h2 * @brief SVG color matrix filter effect
15 #include "sp-filter-primitive.h"
16 #include "display/nr-filter-colormatrix.h"
40 virtual void build_renderer(Inkscape::Filters::Filter* filter);
H A Ddisplacementmap.h2 * SVG displacement map filter effect
15 #include "sp-filter-primitive.h"
48 virtual void build_renderer(Inkscape::Filters::Filter* filter);
H A Dflood.h2 * @brief SVG flood filter effect
15 #include "sp-filter-primitive.h"
40 virtual void build_renderer(Inkscape::Filters::Filter* filter);
H A Dgaussian-blur.h2 * @brief SVG Gaussian blur filter effect
15 #include "sp-filter-primitive.h"
39 virtual void build_renderer(Inkscape::Filters::Filter* filter);
H A Dimage.h2 * @brief SVG image filter effect
16 #include "sp-filter-primitive.h"
51 virtual void build_renderer(Inkscape::Filters::Filter* filter);
H A Dmerge.h2 * SVG merge filter effect
13 #include "sp-filter-primitive.h"
33 virtual void build_renderer(Inkscape::Filters::Filter* filter);
H A Dmorphology.h2 * @brief SVG morphology filter effect
15 #include "sp-filter-primitive.h"
17 #include "display/nr-filter-morphology.h"
40 virtual void build_renderer(Inkscape::Filters::Filter* filter);
H A Doffset.h2 * @brief SVG offset filter effect
15 #include "sp-filter-primitive.h"
37 virtual void build_renderer(Inkscape::Filters::Filter* filter);
/inkscape/src/extension/internal/filter/
H A Dfilter.cpp21 #include "filter.h"
34 Filter::Filter(gchar const * filter) : argument
36 _filter(filter) {
66 gchar const * filter = get_filter_text(ext); local
67 return sp_repr_read_mem(filter, strlen(filter), NULL);
106 if (from_child == from->firstChild() && !strcmp("filter", from->name()) && srcGraphic != NULL && to_child->attribute("in") == NULL) {
121 return; // could not parse the XML source of the filter; typically parser will stderr a warning
124 //printf("Calling filter effect\n");
139 gchar const * filter local
202 filter_init(gchar const * id, gchar const * name, gchar const * submenu, gchar const * tip, gchar const * filter) argument
[all...]
/inkscape/src/ui/dialog/
H A Dfiledialogimpl-win32.cpp80 gunichar2* filter; member in struct:Inkscape::UI::Dialog::Filter
226 all_exe_files.filter = g_utf8_to_utf16(all_exe_files_filter.data(),
237 const Filter &filter = *filter_iterator; local
239 wcsncpy(filterptr, (wchar_t*)filter.name, filter.name_length);
240 filterptr += filter.name_length;
241 g_free(filter.name);
246 if(filter.filter != NULL)
248 wcsncpy(filterptr, (wchar_t*)filter
298 Filter filter; local
454 const Filter &filter = *filter_iterator; local
1712 Filter filter; local
1741 const Filter &filter = *filter_iterator; local
1802 const Filter &filter = *filter_iterator; local
[all...]

Completed in 230 milliseconds

123