Searched defs:input (Results 1 - 25 of 30) sorted by relevance

12

/inkscape/src/filters/
H A Dmergenode.h6 * input image for feMerge filter primitive.
28 int input; member in class:SPFeMergeNode
H A Dmergenode.cpp3 * input image for feMerge.
23 : SPObject(), input(Inkscape::Filters::NR_FILTER_SLOT_NOT_SET) {
52 int input = sp_filter_primitive_read_in(parent, value); local
53 if (input != this->input) {
54 this->input = input;
H A Dblend.cpp135 int input; local
148 input = sp_filter_primitive_read_in(this, value);
150 if (input != this->in2) {
151 this->in2 = input;
H A Dmerge.cpp95 SPObject *input = this->children; local
98 while (input) {
99 if (SP_IS_FEMERGENODE(input)) {
100 SPFeMergeNode *node = SP_FEMERGENODE(input);
101 nr_merge->set_input(in_nr, node->input);
105 input = input->next;
H A Dcomposite.cpp117 int input; local
168 input = sp_filter_primitive_read_in(this, value);
169 if (input != this->in2) {
170 this->in2 = input;
H A Ddisplacementmap.cpp96 int input; local
127 input = sp_filter_primitive_read_in(this, value);
129 if (input != this->in2) {
130 this->in2 = input;
/inkscape/src/extension/internal/
H A Dwpg-input.cpp47 #include "wpg-input.h"
49 #include "extension/input.h"
84 RVNGInputStream* input = new RVNGFileStream(uri); local
86 if (input->isStructured()) {
87 RVNGInputStream* olestream = input->getSubStreamByName("PerfectOffice_MAIN");
89 if (input->isOLEStream()) {
90 RVNGInputStream* olestream = input->getDocumentOLEStream("PerfectOffice_MAIN");
94 delete input;
95 input = olestream;
99 if (!WPGraphics::isSupported(input)) {
[all...]
/inkscape/src/display/
H A Dnr-filter-blend.cpp6 * of two input images."
52 // We may need to transform input surface to correct color interpolation space. The input surface
53 // might be used as input to another primitive but it is likely that all the primitives in a given
54 // filter use the same color interpolation space so we don't copy the input before converting.
161 void FilterBlend::set_input(int input, int slot) { argument
162 if (input == 0) _input = slot;
163 if (input == 1) _input2 = slot;
H A Dnr-filter-merge.cpp41 // output is RGBA if at least one input is RGBA
86 int input = _input_image[i]; local
87 if (input == NR_FILTER_BACKGROUNDIMAGE || input == NR_FILTER_BACKGROUNDALPHA) {
98 void FilterMerge::set_input(int input, int slot) { argument
99 if (input < 0) return;
101 if (static_cast<int>(_input_image.size()) > input) {
102 _input_image[input] = slot;
104 for (int i = static_cast<int>(_input_image.size()) ; i < input ; i++) {
H A Dnr-filter-colormatrix.cpp153 cairo_surface_t *input = slot.getcairo(_input); local
156 // We may need to transform input surface to correct color interpolation space. The input surface
157 // might be used as input to another primitive but it is likely that all the primitives in a given
158 // filter use the same color interpolation space so we don't copy the input before converting.
163 set_cairo_surface_ci( input, ci_fp );
166 out = ink_cairo_surface_create_same_size(input, CAIRO_CONTENT_ALPHA);
168 out = ink_cairo_surface_create_identical(input);
175 ink_cairo_surface_filter(input, out, FilterColorMatrix::ColorMatrixMatrix(values));
178 ink_cairo_surface_filter(input, ou
[all...]
H A Dnr-filter-composite.cpp69 // We may need to transform input surface to correct color interpolation space. The input surface
70 // might be used as input to another primitive but it is likely that all the primitives in a given
71 // filter use the same color interpolation space so we don't copy the input before converting.
147 void FilterComposite::set_input(int input) { argument
148 _input = input;
151 void FilterComposite::set_input(int input, int slot) { argument
152 if (input == 0) _input = slot;
153 if (input == 1) _input2 = slot;
H A Dnr-filter-flood.cpp39 cairo_surface_t *input = slot.getcairo(_input); local
57 cairo_surface_t *out = ink_cairo_surface_create_same_size(input, CAIRO_CONTENT_COLOR_ALPHA);
H A Dnr-filter-primitive.cpp75 void FilterPrimitive::set_input(int input, int slot) { argument
76 if (input == 0) _input = slot;
H A Ddrawing.cpp178 cairo_surface_t *input = dc.rawTarget(); local
179 cairo_surface_t *out = ink_cairo_surface_create_identical(input);
180 ink_cairo_surface_filter(input, out, _grayscale_colormatrix);
H A Dnr-filter-component-transfer.cpp151 cairo_surface_t *input = slot.getcairo(_input); local
152 cairo_surface_t *out = ink_cairo_surface_create_same_size(input, CAIRO_CONTENT_COLOR_ALPHA);
154 // We may need to transform input surface to correct color interpolation space. The input surface
155 // might be used as input to another primitive but it is likely that all the primitives in a given
156 // filter use the same color interpolation space so we don't copy the input before converting.
162 set_cairo_surface_ci( input, ci_fp );
165 ink_cairo_surface_blit(input, out);
H A Dnr-filter-diffuselighting.cpp128 cairo_surface_t *input = slot.getcairo(_input); local
129 cairo_surface_t *out = ink_cairo_surface_create_same_size(input, CAIRO_CONTENT_COLOR_ALPHA);
146 // Only alpha channel of input is used, no need to check input color_interpolation_filter value.
172 DiffuseDistantLight(input, light.distant, color, scale, diffuseConstant));
176 DiffusePointLight(input, light.point, color, trans, scale, diffuseConstant, x0, y0));
180 DiffuseSpotLight(input, light.spot, color, trans, scale, diffuseConstant, x0, y0));
H A Dnr-filter-displacement-map.cpp81 // might be used as input to another primitive but it is likely that all the primitives in a given
107 void FilterDisplacementMap::set_input(int input, int slot) { argument
108 if (input == 0) _input = slot;
109 if (input == 1) _input2 = slot;
H A Dnr-filter-morphology.cpp52 void morphologicalFilter1D(cairo_surface_t * const input, cairo_surface_t * const out, double radius) { argument
59 int stridein = cairo_image_surface_get_stride(input);
62 unsigned char *in_data = cairo_image_surface_get_data(input);
137 // We have now done all work which involves both input and output.
163 cairo_surface_t *input = slot.getcairo(_input); local
167 cairo_surface_t *out = ink_cairo_surface_create_identical(input);
168 copy_cairo_surface_ci(input, out);
177 int bpp = cairo_image_surface_get_format(input) == CAIRO_FORMAT_A8 ? 1 : 4;
179 cairo_surface_t *interm = ink_cairo_surface_create_identical(input);
183 morphologicalFilter1D< std::greater<unsigned char>, Geom::X, 1 >(input, inter
[all...]
H A Dnr-filter-specularlighting.cpp141 cairo_surface_t *input = slot.getcairo(_input); local
142 cairo_surface_t *out = ink_cairo_surface_create_same_size(input, CAIRO_CONTENT_COLOR_ALPHA);
159 // Only alpha channel of input is used, no need to check input color_interpolation_filter value.
187 SpecularDistantLight(input, light.distant, color, scale, ks, se));
191 SpecularPointLight(input, light.point, color, trans, scale, ks, se, x0, y0));
195 SpecularSpotLight(input, light.spot, color, trans, scale, ks, se, x0, y0));
H A Dnr-filter-convolve-matrix.cpp120 cairo_surface_t *input = slot.getcairo(_input); local
121 cairo_surface_t *out = ink_cairo_surface_create_identical(input);
123 // We may need to transform input surface to correct color interpolation space. The input surface
124 // might be used as input to another primitive but it is likely that all the primitives in a given
125 // filter use the same color interpolation space so we don't copy the input before converting.
131 set_cairo_surface_ci( input, ci_fp );
150 //guint32 *in_data = reinterpret_cast<guint32*>(cairo_image_surface_get_data(input));
153 //int width = cairo_image_surface_get_width(input);
154 //int height = cairo_image_surface_get_height(input);
[all...]
H A Dnr-filter-turbulence.cpp390 cairo_surface_t *input = slot.getcairo(_input); local
391 cairo_surface_t *out = ink_cairo_surface_create_same_size(input, CAIRO_CONTENT_COLOR_ALPHA);
/inkscape/src/2geom/
H A Dnearest-time.cpp40 Coord nearest_time(Point const &p, D2<Bezier> const &input, Coord from, Coord to) argument
49 if (input.isConstant(0)) return from;
53 bez = portion(input, domain) - p;
56 bez = input - p;
/inkscape/src/libnrtype/
H A DLayout-TNG-Input.cpp2 * Inkscape::Text::Layout - text layout engine input functions
121 int Layout::_enum_converter(int input, EnumConversionItem const *conversion_table, unsigned conversion_table_size) argument
124 if (conversion_table[i].input == input)
/inkscape/src/ui/dialog/
H A Dpixelartdialog.cpp381 Input input; local
382 input.pixbuf = Glib::wrap(img->pixbuf->getPixbufRaw(), true);
383 input.x = img->x;
384 input.y = img->y;
386 if ( input.pixbuf->get_width() > 256
387 || input.pixbuf->get_height() > 256 ) {
398 queue.push_back(input);
417 void PixelArtDialogImpl::processLibdepixelize(const Input &input) argument
421 if ( input.pixbuf->get_width() > 256 || input
[all...]
/inkscape/src/live_effects/
H A Dlpe-knot.cpp233 CrossingPoints::CrossingPoints(std::vector<double> const &input) : std::vector<CrossingPoint>() argument
235 if ( (input.size() > 0) && (input.size()%9 == 0) ){
237 for( unsigned n=0; n<input.size(); ){
239 cp.pt[X] = input[n++];
240 cp.pt[Y] = input[n++];
241 cp.i = input[n++];
242 cp.j = input[n++];
243 cp.ni = input[n++];
244 cp.nj = input[
[all...]

Completed in 38 milliseconds

12