/inkscape/share/extensions/ |
H A D | seamless_pattern.py | 27 root.set("width", str(width)) 28 root.set("height", str(height)) 29 root.set("viewBox", "0 0 " + str(width) + " " + str(height) ) 34 clipPathRect[0].set("width", str(width)) 35 clipPathRect[0].set("height", str(height)) 41 designZoneData[0].set("patternTransform", "scale(" + str(10.0) + "," + str(factor * 10) + ")") 43 designZoneData[0].set("patternTransform", "scale(" + str(10.0/factor) + "," + str(10. [all...] |
H A D | nicechart.py | 376 shadow.set('x', str(width/2 + offset + 1)) 377 shadow.set('y', str(height/2 - int(value) + 1)) 378 shadow.set("width", str(bar_width)) 379 shadow.set("height", str(int(value))) 381 shadow.set('y', str(width/2 + offset + 1)) 382 shadow.set('x', str(height/2 + 1)) 383 shadow.set("height", str(bar_width)) 384 shadow.set("width", str(int(value))) 394 rect.set('x', str(width/2 + offset)) 395 rect.set('y', str(heigh [all...] |
H A D | empty_dvd_cover.py | 23 guide.set("position", str(x)+","+str(y)) 42 self.root.set("width", str(width) + 'mm') 43 self.root.set("height", str(height) + 'mm') 44 self.root.set("viewBox", "0 0 " + str(width) + " " + str(height) ) 53 namedview.set(inkex.addNS('cx', 'inkscape'), str(self.uutounit( width, 'px' )/2.0 ) ) 54 namedview.set(inkex.addNS('cy', 'inkscape'), str(self.uutounit( height, 'px' )/2.0 ) ) 56 self.create_horizontal_guideline("bottom", str(self.uutounit( bleed, 'px' )) ) 57 self.create_horizontal_guideline("top", str(sel [all...] |
H A D | empty_icon.py | 18 root.set("width", str(size) + 'px') 19 root.set("height", str(size) + 'px') 20 root.set("viewBox", "0 0 " + str(size) + " " + str(size) ) 28 namedview.set(inkex.addNS('zoom', 'inkscape'), str(256.0/size) ) 29 namedview.set(inkex.addNS('cx', 'inkscape'), str(size/2.0) ) 30 namedview.set(inkex.addNS('cy', 'inkscape'), str(size/2.0) )
|
H A D | grid_polar.py | 29 style = { 'stroke': '#000000', 'stroke-width':str(width), 'fill': fill } 31 'cx':str(cx), 'cy':str(cy), 32 'r':str(r), 37 style = { 'stroke': '#000000', 'stroke-width':str(width), 'fill': 'none' } 40 'd':'M '+str(x1)+','+str(y1)+' L '+str(x2)+','+str(y2)} 45 'text-anchor': 'middle', 'font-size': str(font_siz [all...] |
/inkscape/src/svg/ |
H A D | strip-trailing-zeros.cpp | 11 strip_trailing_zeros(string str) argument 13 string::size_type p_ix = str.find('.'); 15 string::size_type e_ix = str.find('e', p_ix); 17 * Default to avoiding `e', e.g. using sprintf(str, "%17f", d). Add a new function that 20 string::size_type nz_ix = str.find_last_not_of('0', (e_ix == string::npos 26 str.erase(str.begin() + (nz_ix == p_ix 30 ? str.end() 31 : str.begin() + e_ix)); 34 return str; [all...] |
H A D | svg.h | 31 unsigned int sp_svg_number_read_f( const char *str, float *val ); 32 unsigned int sp_svg_number_read_d( const char *str, double *val ); 50 unsigned int sp_svg_length_read_computed_absolute( const char *str, float *length ); 51 std::vector<SVGLength> sp_svg_length_list_read( const char *str ); 52 unsigned int sp_svg_length_read_ldd( const char *str, SVGLength::Unit *unit, double *value, double *computed ); 56 bool sp_svg_transform_read(char const *str, Geom::Affine *transform); 61 double sp_svg_read_percentage( const char * str, double def ); 65 Geom::PathVector sp_svg_read_pathv( char const * str );
|
H A D | strip-trailing-zeros.h | 6 std::string strip_trailing_zeros(std::string str);
|
H A D | svg-color.h | 7 guint32 sp_svg_read_color(char const *str, unsigned int dfl); 8 guint32 sp_svg_read_color(char const *str, char const **end_ptr, guint32 def); 11 bool sp_svg_read_icc_color( char const *str, char const **end_ptr, SVGICCColor* dest ); 12 bool sp_svg_read_icc_color( char const *str, SVGICCColor* dest );
|
H A D | svg-color.cpp | 209 guint32 sp_svg_read_color(gchar const *str, guint32 const dfl) argument 211 return sp_svg_read_color(str, NULL, dfl); 214 static guint32 internal_sp_svg_read_color(gchar const *str, gchar const **end_ptr, guint32 def) argument 219 if (str == NULL) return def; 220 while ((*str <= ' ') && *str) str++; 221 if (!*str) return def; 223 if (str[0] == '#') { 225 for (i = 1; str[ 396 sp_svg_read_color(gchar const *str, gchar const **end_ptr, guint32 dfl) argument [all...] |
H A D | svg-path.cpp | 36 * Parses the path in str. When an error is found in the pathstring, this method 38 * Returns an empty PathVector when str==NULL 40 Geom::PathVector sp_svg_read_pathv(char const * str) argument 43 if (!str) 44 return pathv; // return empty pathvector when str == NULL 51 parser.parse(str); 56 //g_warning("Malformed SVG path, truncated path up to where error was found.\n Input path=\"%s\"\n Parsed path=\"%s\"", str, sp_svg_write_path(pathv)); 62 static void sp_svg_write_curve(Inkscape::SVG::PathString & str, Geom::Curve const * c) { argument 68 str.verticalLineTo( line_segment->finalPoint()[Geom::Y] ); 70 str 101 sp_svg_write_path(Inkscape::SVG::PathString & str, Geom::Path const & p) argument 114 Inkscape::SVG::PathString str; local 124 Inkscape::SVG::PathString str; local [all...] |
H A D | svg-angle.cpp | 30 static bool sp_svg_angle_read_lff(gchar const *str, SVGAngle::Unit &unit, float &val, float &computed); 42 bool SVGAngle::read(gchar const *str) argument 44 if (!str) { 51 if (!sp_svg_angle_read_lff(str, u, v, c)) { 70 void SVGAngle::readOrUnset(gchar const *str, Unit u, float v, float c) { argument 71 if (!read(str)) { 76 static bool sp_svg_angle_read_lff(gchar const *str, SVGAngle::Unit &unit, float &val, float &computed) argument 78 if (!str) { 83 float const v = g_ascii_strtod(str, (char **) &e); 84 if (e == str) { [all...] |
H A D | svg-affine-test.h | 16 char const * str; member in struct:SvgAffineTest::test_t 77 TSM_ASSERT(read_matrix_tests[i].str , sp_svg_transform_read(read_matrix_tests[i].str, &cm)); 78 TSM_ASSERT_RELATION(read_matrix_tests[i].str , approx_equal_pred , read_matrix_tests[i].matrix , cm); 86 TSM_ASSERT(read_translate_tests[i].str , sp_svg_transform_read(read_translate_tests[i].str, &cm)); 87 TSM_ASSERT_RELATION(read_translate_tests[i].str , approx_equal_pred , read_translate_tests[i].matrix , cm); 95 TSM_ASSERT(read_scale_tests[i].str , sp_svg_transform_read(read_scale_tests[i].str, &cm)); 96 TSM_ASSERT_RELATION(read_scale_tests[i].str , approx_equal_pre 121 char * str = sp_svg_transform_write(write_matrix_tests[i].matrix); local 130 char * str = sp_svg_transform_write(write_translate_tests[i].matrix); local 139 char * str = sp_svg_transform_write(write_scale_tests[i].matrix); local 148 char * str = sp_svg_transform_write(write_rotate_tests[i].matrix); local 157 char * str = sp_svg_transform_write(write_skew_tests[i].matrix); local 168 char const * str = "skewY(17)skewX(9)translate(7,13)scale(2)rotate(13)translate(3,5)"; local [all...] |
/inkscape/packaging/wix/ |
H A D | next_uuid.py | 9 out.write(str(uuid.uuid4()) + '\n')
|
/inkscape/po/ |
H A D | check-markup | 20 my $str = qr/(?:"(?:[^"\\]|\\.)*")/; 36 my ($certainly_pango_str, $str) = @_; 38 $str =~ s/\A"// or die "Bug: No leading `\"' in `$str'"; 39 $str =~ s/"\Z// or die "Bug: No trailing `\"' in `$str'"; 41 if ($str =~ /\AProject-Id-Version:.*POT-Creation-Date/ 42 or $str =~ /\A<[^<>]*>\Z/) { 50 while ($str =~ s{<([bisu]|big|su[bp]|small|tt|span)(${attrsRE})>[^<>]*</\1>}{}) { 69 if (($str [all...] |
/inkscape/src/libcroco/ |
H A D | cr-stylesheet.c | 62 gchar *str = NULL; local 77 str = cr_statement_to_string (cur_stmt, 0) ; 78 if (str) { 79 g_string_append (stringue, str) ; 80 g_free (str) ; 81 str = NULL ; 85 str = stringue->str ; 89 return str ; 100 gchar *str local [all...] |
H A D | cr-fonts.c | 95 gchar const *str = NULL; local 99 str = "xx-small"; 102 str = "x-small"; 105 str = "small"; 108 str = "medium"; 111 str = "large"; 114 str = "x-large"; 117 str = "xx-large"; 120 str = "unknown absolute font size value"; 122 return str; 128 gchar const *str = NULL; local 516 gchar *str = NULL; local 672 gchar *str = NULL; local 706 gchar *str = NULL; local 738 gchar *str = NULL; local 788 gchar *str = NULL; local 849 gchar *str = NULL; local [all...] |
H A D | cr-style.c | 167 const gchar *str; member in struct:CRNumPropEnumDumpInfo 193 const gchar *str; member in struct:CRRgbPropEnumDumpInfo 208 const gchar *str; member in struct:CRBorderStylePropEnumDumpInfo 339 return gv_num_props_dump_infos[a_code].str; 363 return gv_rgb_props_dump_infos[a_code].str; 387 return gv_border_style_props_dump_infos[a_code].str; 465 if (a_value->content.str 466 && a_value->content.str->stryng 467 && a_value->content.str->stryng->str 2332 GString *str = NULL; local 2386 GString *str = NULL; local 2438 gchar *str = NULL; local 2486 gchar *str = NULL; local 2559 gchar *str = NULL; local 2591 gchar *str = NULL; local 2621 gchar *str = NULL; local 2663 GString *str = NULL; local [all...] |
H A D | cr-parsing-location.c | 106 gchar *str = NULL ; local 129 str = result->str ; 134 return str ; 148 gchar *str = NULL ; local 151 str = cr_parsing_location_to_string (a_this, a_mask) ; 152 if (str) { 153 fprintf (a_fp, "%s", str) ; 154 g_free (str) ; 155 str [all...] |
/inkscape/src/live_effects/parameter/ |
H A D | array.cpp | 21 ArrayParam<double>::readsvg(const gchar * str) argument 24 sp_svg_number_read_d(str, &newx); 30 ArrayParam<float>::readsvg(const gchar * str) argument 33 sp_svg_number_read_f(str, &newx); 39 ArrayParam<Geom::Point>::readsvg(const gchar * str) argument 41 gchar ** strarray = g_strsplit(str, ",", 2);
|
H A D | array.h | 66 gchar * str = g_strdup(os.str().c_str()); local 67 return str; 81 gchar * str = g_strdup(os.str().c_str()); local 82 param_write_to_repr(str); 83 g_free(str); 90 void writesvg(SVGOStringStream &str, std::vector<StorageType> const &vector) const { argument 94 str << " | "; 96 str << vecto [all...] |
/inkscape/src/extension/internal/filter/ |
H A D | bumps.h | 255 "</filter>\n", simplifyImage.str().c_str(), bumpSource.str().c_str(), red.str().c_str(), green.str().c_str(), blue.str().c_str(), 256 crop.str().c_str(), simplifyBump.str().c_str(), 257 lightStart.str().c_str(), lightOptions.str().c_str(), lightEnd.str() [all...] |
H A D | shadows.h | 175 "</filter>\n", a.str().c_str(), r.str().c_str(), g.str().c_str(), b.str().c_str(), 176 comp1in1.str().c_str(), comp1in2.str().c_str(), comp1op.str().c_str(), 177 blur.str().c_str(), x.str().c_str(), y.str() [all...] |
H A D | distort.h | 158 "</filter>\n", hblur.str().c_str(), vblur.str().c_str(), 159 turbulence.str().c_str(), complexity.str().c_str(), variation.str().c_str(), hfreq.str().c_str(), vfreq.str().c_str(), 160 map.str().c_str(), intensity.str().c_str(), dilat.str() [all...] |
H A D | morphology.h | 122 "</filter>\n", width.str().c_str(), type.str().c_str(), level.str().c_str(), 123 dilat.str().c_str(), erosion.str().c_str(), antialias.str().c_str(), 124 content.str().c_str()); 309 "</filter>\n", width1.str().c_str(), c1in.str().c_str(), c1in2.str() [all...] |