Searched refs:length (Results 1 - 25 of 166) sorted by relevance

1234567

/inkscape/src/libuemf/
H A Duwmf_endian.h27 int U_wmf_endian(char *contents, size_t length, int torev, int onerec);
H A Duemf_endian.h51 int U_emf_endian(char *contents, size_t length, int torev);
/inkscape/src/util/
H A Dshare.cpp23 ptr_shared<char> share_string(char const *string, std::size_t length) { argument
25 char *new_string=new (GC::ATOMIC) char[length+1];
26 std::memcpy(new_string, string, length);
27 new_string[length] = 0;
/inkscape/src/libnrtype/
H A Dnr-type-primitives.h24 guint length; member in struct:NRNameList
36 guint length; member in struct:NRStyleList
/inkscape/src/display/
H A Dnr-filter-primitive.h18 #include "svg/svg-length.h"
82 * Sets the filter primitive subregion. Passing an unset length
83 * (length._set == false) WILL change the parameter as it is
86 void set_x(SVGLength const &length);
87 void set_y(SVGLength const &length);
88 void set_width(SVGLength const &length);
89 void set_height(SVGLength const &length);
H A Dnr-filter.h19 #include "svg/svg-length.h"
85 void set_x(SVGLength const &length);
86 void set_y(SVGLength const &length);
87 void set_width(SVGLength const &length);
88 void set_height(SVGLength const &length);
92 * Passing an unset length (length._set == false) as any of the parameters
H A Dnr-filter-primitive.cpp16 #include "svg/svg-length.h"
85 void FilterPrimitive::set_x(SVGLength const &length) argument
87 _subregion_x = length;
90 void FilterPrimitive::set_y(SVGLength const &length) argument
92 _subregion_y = length;
94 void FilterPrimitive::set_width(SVGLength const &length) argument
96 _subregion_width = length;
98 void FilterPrimitive::set_height(SVGLength const &length) argument
100 _subregion_height = length;
H A Dnr-filter.cpp47 #include "svg/svg-length.h"
380 void Filter::set_x(SVGLength const &length) argument
382 if (length._set)
383 _region_x = length;
385 void Filter::set_y(SVGLength const &length) argument
387 if (length._set)
388 _region_y = length;
390 void Filter::set_width(SVGLength const &length) argument
392 if (length._set)
393 _region_width = length;
395 set_height(SVGLength const &length) argument
[all...]
/inkscape/share/extensions/Barcode/
H A DEan2.py29 length = 2 variable in class:Ean2
H A DEan5.py32 length = 5 variable in class:Ean5
H A DBaseEan.py39 length = None variable in class:EanBarcode
87 if self.length:
88 return [self.length]
111 (len(code), ', '.join([str(length) for length in lengths])))
/inkscape/share/extensions/
H A DjessyInk_core_mouseHandler_noclick.js26 for (var counter = 0; counter < elems.length; counter++)
H A Dconvert2dashes.py70 length = float (offset)
71 while dash < length:
72 length = length - dash
78 dash = dash - length
79 length = cspseglength(new[-1][-1], sub[i])
80 while dash < length:
81 new[-1][-1], next, sub[i] = cspbezsplitatlength(new[-1][-1], sub[i], dash/length)
86 length = length
[all...]
H A Dfractalize.py29 length = math.sqrt(x3*x3 + y3*y3)
30 if length != 0:
31 nx = -y3/length
32 ny = x3/length
37 r = random.uniform(-length/(1+smoothness),length/(1+smoothness))
H A Drender_gear_rack.py53 "-l", "--length",
55 dest="length", default=100.,
69 length = self.unittouu(str(self.options.length) + 'px')
77 while x < length:
93 inkex.addNS('label', 'inkscape'): 'RackGear' + str(length),
H A DjessyInk.js142 for (var counter = 0; counter < namedViews.length; counter++)
162 if (defsNodes.length > 0)
189 for (var counter = 0; counter < nodes.length; counter++)
231 else if (activeSlide >= tempSlides.length)
232 activeSlide = tempSlides.length - 1;
246 for (var counter = 0; counter < tempSlides.length; counter++)
303 substituteAutoTexts(node, node.getAttributeNS(NSS["inkscape"], "label"), counter + 1, tempSlides.length);
330 for (var effectCounter = 0; effectCounter < effects.length; effectCounter++)
366 tempEffects[dict["order"]][tempEffects[dict["order"]].length] = effectDict;
418 for (var viewCounter = 0; viewCounter < views.length; viewCounte
[all...]
H A Dffgeom.py84 return Segment(p,self[0]).length()
87 return Segment(p,self[1]).length()
90 len = self.length()
96 def length(self): member in class:Segment
99 if self.length() == 0: return Point(NaN, NaN)
100 ratio = len / self.length()
105 if self.length() == 0: return Point(NaN, NaN)
/inkscape/src/svg/
H A Dsvg.h19 #include "svg/svg-length.h"
50 unsigned int sp_svg_length_read_computed_absolute( const char *str, float *length );
54 std::string sp_svg_length_write_with_units(SVGLength const &length);
H A Dsvg-length.cpp61 // TODO must add a buffer length parameter for safety:
233 unsigned int sp_svg_length_read_computed_absolute(gchar const *str, float *length)
250 *length = computed;
269 SVGLength length;
270 length.set(unit, value, computed);
271 list.push_back(length);
572 std::string sp_svg_length_write_with_units(SVGLength const &length)
575 if (length.unit == SVGLength::PERCENT) {
576 os << 100*length.value << sp_svg_length_get_css_units(length
[all...]
/inkscape/src/live_effects/
H A Dlpe-attach-path.cpp87 Geom::Coord length = derivs[deriv_n].length(); local
88 if ( ! Geom::are_near(length, 0) ) {
103 Geom::Coord length_2 = derivs[deriv_n_2].length();
112 Geom::Point pt1 = Geom::Point(start_path_curve_start.getVector().length() * cos(startangle + startderiv), start_path_curve_start.getVector().length() * sin(startangle + startderiv));
113 Geom::Point pt2 = Geom::Point(start_path_curve_end.getVector().length() * cos(endangle + endderiv), start_path_curve_end.getVector().length() * sin(endangle + endderiv));
142 Geom::Coord length = derivs[deriv_n].length(); local
[all...]
/inkscape/src/2geom/
H A Dcoord.cpp118 Vector(T* data, int length) : start_(data), length_(length) { argument
119 ASSERT(length == 0 || (length > 0 && data != NULL));
128 int length() const { return length_; }
609 int length = value.length();
612 while (length >= kMaxUint64DecimalDigits) {
615 length -= kMaxUint64DecimalDigits;
619 uint64_t digits = ReadUInt64(value, pos, length);
[all...]
H A Dcurve.cpp57 Coord Curve::length(Coord tolerance) const function in class:Geom::Curve
59 return ::Geom::length(toSBasis(), tolerance);
157 Coord length = derivs[deriv_n].length(); local
158 if ( ! are_near(length, 0) ) {
159 // length of derivative is non-zero, so return unit vector
160 return derivs[deriv_n] / length;
H A Dsbasis-geometric.cpp6 * The functions defined in this header related to 2d geometric operations such as arc length,
8 * arbitrary D2 and returns a D2 with unit length with the same direction.
327 Piecewise<SBasis> length = integral(dMlength); local
328 length-=length.segs.front().at0();
329 return length;
344 Geom::length(D2<SBasis> const &M,
346 Piecewise<SBasis> length = arcLengthSb(M, tol);
347 return length.segs.back().at1();
350 Geom::length(Piecewis
484 Geom::length(D2<SBasis> const &s, function in class:Geom
498 Geom::length(Piecewise<D2<SBasis> > const &s, function in class:Geom
[all...]
/inkscape/src/
H A Ddir-util.cpp16 size_t base_len = base.length();
27 while ( (retPos < path.length()) && (path[retPos] == G_DIR_SEPARATOR) ) {
30 if ( (retPos + 1) < path.length() ) {
70 int length; local
133 length = bp - base;
134 if (length >= static_cast<int>(size))
136 strncpy (result, base, length);
137 rp = result + length;
138 if (*pp || *(pp - 1) == G_DIR_SEPARATOR || length == 0)
/inkscape/src/livarot/
H A DAlphaLigne.h34 int length; member in class:AlphaLigne

Completed in 45 milliseconds

1234567