/inkscape/src/extension/internal/ |
H A D | wpg-input.cpp | 47 #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 D | nr-filter-merge.cpp | 41 // 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 D | nr-filter-composite.h | 33 virtual void set_input(int input); 34 virtual void set_input(int input, int slot);
|
H A D | nr-filter-merge.h | 32 virtual void set_input(int input); 33 virtual void set_input(int input, int slot);
|
H A D | nr-filter-morphology.cpp | 52 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 D | nr-filter-displacement-map.h | 34 virtual void set_input(int input, int slot);
|
H A D | nr-filter-colormatrix.cpp | 153 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 D | nr-filter-composite.cpp | 69 // 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 D | nr-filter-blend.cpp | 6 * 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 D | nr-filter-blend.h | 9 * of two input images." 58 virtual void set_input(int input, int slot);
|
H A D | nr-filter-convolve-matrix.cpp | 120 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 D | nr-filter-diffuselighting.cpp | 128 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 D | nr-filter-specularlighting.cpp | 141 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 D | nr-filter-displacement-map.cpp | 81 // 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 D | nr-filter-flood.cpp | 39 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 D | nr-filter-component-transfer.cpp | 151 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);
|
/inkscape/src/filters/ |
H A D | mergenode.cpp | 3 * 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 D | merge.cpp | 95 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 D | mergenode.h | 6 * input image for feMerge filter primitive. 28 int input; member in class:SPFeMergeNode
|
H A D | displacementmap.cpp | 96 int input; local 127 input = sp_filter_primitive_read_in(this, value); 129 if (input != this->in2) { 130 this->in2 = input;
|
/inkscape/src/helper/ |
H A D | geom-pathstroke.h | 37 * Strokes the path given by @a input. 40 * @param[in] input Input path. 47 * If the input path is closed, the resultant vector will contain two paths. 50 Geom::PathVector outline(Geom::Path const& input, double width, double miter, LineJoinType join = JOIN_BEVEL, LineCapType cap = BUTT_FLAT); 53 * Offset the input path by @a width. 56 * @param[in] input Input path. 63 Geom::Path half_outline(Geom::Path const& input, double width, double miter, LineJoinType join = JOIN_BEVEL); 74 * @param[in] in_tang The end tangent to consider on the input path.
|
H A D | geom-pathstroke.cpp | 122 // input tangents 909 Geom::PathVector outline(Geom::Path const& input, double width, double miter, LineJoinType join, LineCapType butt) argument 911 if (input.size() == 0) return Geom::PathVector(); // nope, don't even try 914 Geom::Path with_dir = half_outline(input, width/2., miter, join); 915 Geom::Path against_dir = half_outline(input.reversed(), width/2., miter, join); 936 if (!input.closed()) { 945 if (!input.closed()) { 954 Geom::Path half_outline(Geom::Path const& input, double width, double miter, LineJoinType join) argument 957 if (input.size() == 0) return res; 959 Geom::Point tang1 = input[ [all...] |
/inkscape/src/libcroco/ |
H A D | cr-tknzr.c | 35 /**The parser input stream of bytes*/ 36 CRInput *input; member in struct:_CRTknzrPriv 43 *from the input stream. 91 *Peeks the next char from the input stream of the current tokenizer. 106 *Reads the next char from the input stream of the current parser. 119 *the input of the parser. 125 *inside the current parser input. Must 129 (a_tknzr)->input, a_pos) ; \ 134 *parser input. 141 (PRIVATE (a_tknzr)->input, a_add 1624 CRInput *input = NULL; local 1641 CRInput *input = NULL; local 1969 CRInput *input = NULL; local [all...] |
/inkscape/src/ui/dialog/ |
H A D | pixelartdialog.cpp | 381 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/share/extensions/ |
H A D | scour.inkscape.py | 51 input = file(self.args[0], "r") 53 sys.stdout.write(scourString(input.read(), self.options).encode("UTF-8")) 54 input.close()
|