Searched defs:in (Results 1 - 25 of 39) sorted by relevance

12

/inkscape/src/display/
H A Dnr-filter-skeleton.cpp5 * type, like gaussian or blend in respective case.
43 cairo_surface_t *in = slot.getcairo(_input); local
44 cairo_surface_t *out = ink_cairo_surface_create_identical(in);
48 // cairo_set_source_surface(ct, in, offset[X], offset[Y]);
H A Dnr-filter-merge.cpp45 cairo_surface_t *in = slot.getcairo(*i); local
46 if (cairo_surface_get_content(in) == CAIRO_CONTENT_COLOR_ALPHA) {
47 out = ink_cairo_surface_create_identical(in);
60 cairo_surface_t *in = slot.getcairo(*i); local
62 set_cairo_surface_ci( in, ci_fp );
63 cairo_set_source_surface(out_ct, in, 0, 0);
H A Dnr-filter-offset.cpp36 cairo_surface_t *in = slot.getcairo(_input); local
37 cairo_surface_t *out = ink_cairo_surface_create_identical(in);
38 // color_interpolation_filters for out same as in. See spec (DisplacementMap).
39 copy_cairo_surface_ci(in, out);
63 cairo_set_source_surface(ct, in, offset[X], offset[Y]);
H A Dnr-filter-tile.cpp36 cairo_surface_t *in = slot.getcairo(_input); local
43 // cairo_surface_write_to_png( in, filename.str().c_str() );
50 slot.set(_output, in);
55 cairo_surface_t *out = ink_cairo_surface_create_identical(in);
56 // color_interpolation_filters for out same as in.
57 copy_cairo_surface_ci(in, out);
67 // Get tile area in pixbuf units (tile transformed).
74 cairo_surface_t *tile = cairo_surface_create_similar(in, cairo_surface_get_content(in),
77 cairo_set_source_surface(ct_tile, in, shif
[all...]
H A Dnr-filter-colormatrix.cpp49 guint32 FilterColorMatrix::ColorMatrixMatrix::operator()(guint32 in) { argument
50 EXTRACT_ARGB32(in, a, r, g, b)
86 guint32 operator()(guint32 in) { argument
87 EXTRACT_ARGB32(in, a, r, g, b)
89 // Note: this cannot be done in fixed point, because the loss of precision
119 guint32 operator()(guint32 in) { argument
120 EXTRACT_ARGB32(in, a, r, g, b)
137 guint32 operator()(guint32 in) { argument
138 // original computation in double: r*0.2125 + g*0.7154 + b*0.0721
139 EXTRACT_ARGB32(in,
[all...]
H A Dnr-filter-primitive.cpp38 // region expressed in percent. At the moment, we do not check referenced nodes.
42 // percentages are in terms of bounding box or viewbox, depending on value of "primitiveUnits".
62 cairo_surface_t *in = slot.getcairo(_input); local
63 slot.set(_output, in);
154 // Values are in terms of fraction of bounding box.
159 // Values are in terms of percent
165 // Values are in terms of user space coordinates or percent of viewport (already calculated in sp-filter-primitive.cpp).
H A Dnr-filter-component-transfer.cpp34 guint32 operator()(guint32 in) { argument
35 EXTRACT_ARGB32(in, a, r, g, b);
37 return in;
47 guint32 operator()(guint32 in) { argument
48 EXTRACT_ARGB32(in, a, r, g, b);
50 return in;
78 guint32 operator()(guint32 in) { argument
79 guint32 component = (in & _mask) >> _shift;
84 return (in & ~_mask) | (component << _shift);
99 guint32 operator()(guint32 in) { argument
116 operator ()(guint32 in) argument
136 operator ()(guint32 in) argument
[all...]
/inkscape/src/libvpsc/
H A Dblock.h23 * The variables in a block are spanned by a tree of active constraints.
86 * current positions for variables in this block
92 PairingHeap<Constraint*> *in; member in class:vpsc::Block
108 void setUpConstraintHeap(PairingHeap<Constraint*>* &h,bool in);
H A Dvariable.h24 const int id; // useful in log files
30 Constraints in; member in class:vpsc::Variable
47 in.clear();
H A Dblock.cpp33 in=NULL;
53 delete in;
57 setUpConstraintHeap(in,true);
62 void Block::setUpConstraintHeap(PairingHeap<Constraint*>* &h,bool in) { argument
67 vector<Constraint*> *cs=in?&(v->in):&(v->out);
71 if ((c->left->block != this && in) || (c->right->block != this && !in)) {
121 in->merge(b->in);
[all...]
H A Dsolve_VPSC.cpp49 // useful in debugging
268 // downwards. There is always at least 1 element in the
281 set<node*> in; member in struct:vpsc::node
284 // useful in debugging - cycles would be BAD
294 for(vector<Constraint*>::iterator c=vs[i]->in.begin();c!=vs[i]->in.end();++c) {
296 varmap[vs[i]]->in.insert(varmap[l]);
309 if(u->in.empty()) {
320 v->in.erase(u);
331 // useful in debuggin
[all...]
/inkscape/src/extension/param/
H A Dcolor.cpp38 guint32 ParamColor::set( guint32 in, SPDocument * /*doc*/, Inkscape::XML::Node * /*node*/ ) argument
41 _color.setValue(in);
52 return in;
H A Dstring.cpp40 * in the preferences structure. To put it in the right place, \c PREF_DIR
45 * the passed in value is duplicated using \c g_strdup().
47 * @param in The value to set to.
51 const gchar * ParamString::set(const gchar * in, SPDocument * /*doc*/, Inkscape::XML::Node * /*node*/) argument
53 if (in == NULL) {
61 _value = g_strdup(in);
146 * from the text box and putting it in the parameter.
160 * Builds a hbox with a label and a text box in it.
H A Dbool.cpp55 bool ParamBool::set( bool in, SPDocument * /*doc*/, Inkscape::XML::Node * /*node*/ ) argument
57 _value = in;
95 * Adjusts the value of the preference to match that in the check box.
H A Denum.cpp4 * It uses a Gtk:ComboBoxText widget in the extension UI.
36 Note that value and guitext MUST be non-NULL. This is ensured by newing only at one location in the code where non-NULL checks are made. */
57 const char *xmlval = NULL; // the value stored in XML
138 * in the preferences structure. To put it in the right place, \c PREF_DIR
143 * the passed in value is duplicated using \c g_strdup().
145 * @param in The value to set.
149 const gchar *ParamComboBox::set(const gchar * in, SPDocument * /*doc*/, Inkscape::XML::Node * /*node*/) argument
151 if (in == NULL) {
158 if ( !entr->guitext.compare(in) ) {
[all...]
H A Dfloat.cpp98 * in the preferences structure. To put it in the right place, \c PREF_DIR
101 * @param in The value to set to.
105 float ParamFloat::set(float in, SPDocument * /*doc*/, Inkscape::XML::Node * /*node*/) argument
107 _value = in;
170 * Builds a hbox with a label and a float adjustment in it.
H A Dint.cpp88 * in the preferences structure. To put it in the right place, \c PREF_DIR
91 * @param in The value to set to.
95 int ParamInt::set(int in, SPDocument * /*doc*/, Inkscape::XML::Node * /*node*/) argument
97 _value = in;
150 * Builds a hbox with a label and a int adjustment in it.
H A Dnotebook.cpp36 * The root directory in the preferences database for extension
114 is typically done in the creation of the notebook and defined
115 in the XML file describing the extension (it's private so people
123 isn't a name in the XML, then no page is created as
287 * in the preferences structure. To put it in the right place, \c PREF_DIR
292 * the passed in value is duplicated using \c g_strdup().
294 * @param in The number of the page which value must be set.
298 const gchar *ParamNotebook::set(const int in, SPDocument * /*doc*/, Inkscape::XML::Node * /*node*/) argument
302 for (GSList * list = pages; (list != NULL) && (i <= in); lis
[all...]
H A Dparameter.cpp213 bool Parameter::set_bool(bool in, SPDocument * doc, Inkscape::XML::Node * node) argument
218 return boolpntr->set(in, doc, node);
221 int Parameter::set_int(int in, SPDocument * doc, Inkscape::XML::Node * node) argument
226 return intpntr->set(in, doc, node);
231 Parameter::set_float (float in, SPDocument * doc, Inkscape::XML::Node * node) argument
237 return floatpntr->set(in, doc, node);
242 Parameter::set_string (gchar const * in, SPDocument * doc, Inkscape::XML::Node * node) argument
247 return stringpntr->set(in, doc, node);
250 gchar const * Parameter::set_optiongroup( gchar const * in, SPDocument * doc, Inkscape::XML::Node * node ) argument
256 return param->set(in, do
259 set_enum( gchar const * in, SPDocument * doc, Inkscape::XML::Node * node ) argument
271 set_color(guint32 in, SPDocument * doc, Inkscape::XML::Node * node) argument
[all...]
H A Dradiobutton.cpp4 * It uses a Gtk:ComboBoxText widget in the extension UI.
35 * The root directory in the preferences database for extension
44 Note that value and guitext MUST be non-NULL. This is ensured by newing only at one location in the code where non-NULL checks are made. */
155 * in the preferences structure. To put it in the right place, \c PREF_DIR
160 * the passed in value is duplicated using \c g_strdup().
162 * @param in The value to set.
166 const gchar *ParamRadioButton::set(const gchar * in, SPDocument * /*doc*/, Inkscape::XML::Node * /*node*/) argument
168 if (in == NULL) {
175 if ( !entr->value->compare(in) ) {
[all...]
/inkscape/src/
H A Dviewbox.cpp164 void SPViewBox::apply_viewbox(const Geom::Rect& in, double scale_none) { argument
166 /* Determine actual viewbox in viewport coordinates */
168 // it is passed here because it is a double-precision variable, while 'in' is originally float
171 double scale_x = in.width() / this->viewBox.width();
172 double scale_y = in.height() / this->viewBox.height();
195 x = 0.5 * (in.width() - width);
198 x = 1.0 * (in.width() - width);
201 y = 0.5 * (in.height() - height);
204 x = 0.5 * (in.width() - width);
205 y = 0.5 * (in
[all...]
H A Duri.cpp20 const gchar *in = ""; local
21 _impl = Impl::create(xmlParseURI(in));
144 * Returns the absolute path to an existing file referenced in this URI,
/inkscape/src/2geom/
H A Dintersection.h19 * in the file COPYING-LGPL-2.1; if not, write to the Free Software
22 * in the file COPYING-MPL-1.1
25 * Version 1.1 (the "License"); you may not use this file except in
100 // Recalculation of the intersection point from the time values is in many cases
117 std::vector< Intersection<A, B> > transpose(std::vector< Intersection<B, A> > const &in) { argument
119 for (std::size_t i = 0; i < in.size(); ++i) {
120 result.push_back(Intersection<A, B>(in[i].second, in[i].first, in[i].point()));
H A Delliptical-arc-from-sbasis.cpp17 * in the file COPYING-LGPL-2.1; if not, write to the Free Software
20 * in the file COPYING-MPL-1.1
23 * Version 1.1 (the "License"); you may not use this file except in
54 * convert a parametric polynomial curve given in symmetric power basis form
55 * into an EllipticalArc type; in order to be successfull the input curve
155 * in implicit form
327 bool arc_from_sbasis(EllipticalArc &ea, D2<SBasis> const &in, argument
330 make_elliptical_arc convert(ea, in, num_samples, tolerance);
/inkscape/src/libavoid/
H A Dvpsc.h14 * Licensees holding a valid commercial license may use this file in
18 * This library is distributed in the hope that it will be useful,
100 Heap *in; member in class:Avoid::Block
120 void setUpConstraintHeap(Heap* &h,bool in);
133 int id; // useful in log files
143 Constraints in; member in class:Avoid::Variable

Completed in 2568 milliseconds

12