Searched refs:sub (Results 1 - 20 of 20) sorted by relevance

/inkscape/share/extensions/
H A Dconvert2dashes.py67 for sub in p:
75 new.append([sub[0][:]])
77 while i < len(sub):
79 length = cspseglength(new[-1][-1], sub[i])
81 new[-1][-1], next, sub[i] = cspbezsplitatlength(new[-1][-1], sub[i], dash/length)
90 new.append([sub[i]])
92 new[-1].append(sub[i])
H A Dextractimage.py59 for sub in mimesubext.keys():
60 if sub in xlink[5:semicolon].lower():
61 fileext=mimesubext[sub]
H A Dlayout_nup.py203 sub = ElementTree.SubElement
211 sub(under, 'use', {
218 layer = sub(root, 'g', {'id':'guidelayer',
224 sub(layer, *padbox)
233 sub(layer, *margbox)
241 layer = sub(root, 'g', {'id':'cutlayer',
246 group = sub(layer, 'g', id='cross')
256 sub(group, 'path', style=style+'stroke-width:0.05',
262 sub(group, 'use', {
269 layer = sub(roo
[all...]
H A Daddnodes.py92 for sub in p:
93 new.append([sub[0][:]])
95 while i <= len(sub)-1:
96 length = cspseglength(new[-1][-1], sub[i])
104 new[-1][-1], next, sub[i] = cspbezsplitatlength(new[-1][-1], sub[i], 1.0/s)
106 new[-1].append(sub[i])
H A Dprint_win32_vector.py109 for sub in p:
110 mygdi.MoveToEx(self.hDC, int(sub[0][1][0]), int(sub[0][1][1]), None)
111 POINTS = c_long*(6*(len(sub)-1))
113 for i in range(len(sub)-1):
114 points[6*i] = int(sub[i][2][0])
115 points[6*i + 1] = int(sub[i][2][1])
116 points[6*i + 2] = int(sub[i + 1][0][0])
117 points[6*i + 3] = int(sub[i + 1][0][1])
118 points[6*i + 4] = int(sub[
[all...]
H A Dwhirl.py43 for sub in p:
44 for csp in sub:
H A Dpathalongpath.py266 for sub in p:
268 new.append(copy.deepcopy(sub))
269 offset(sub,dx,0)
272 for sub in p:
273 offset(sub,xoffset,yoffset)
278 for sub in p:
279 stretch(sub,length/width,1,self.skelcomp[0])
281 for sub in p:
282 for ctlpt in sub:
H A Ddxf_input.py462 val = inkex.re.sub( '\\\\A.*;', '', val)
463 val = inkex.re.sub( '\\\\H.*;', '', val)
464 val = inkex.re.sub( '\\^I', '', val)
465 val = inkex.re.sub( '{\\\\L', '', val)
466 val = inkex.re.sub( '}', '', val)
467 val = inkex.re.sub( '\\\\S.*;', '', val)
468 val = inkex.re.sub( '\\\\W.*;', '', val)
471 val = inkex.re.sub( '\\\\\\\\U\+([0-9A-Fa-f]{4})', '\\u\\1', val)
H A Ddxf_outlines.py242 for sub in p:
243 for i in range(len(sub)-1):
244 s = sub[i]
245 e = sub[i+1]
H A Dpathmodifier.py308 for sub in p:
309 for ctlpt in sub:
H A Dinterp_att_g.py195 s = re.sub( re_find, '\\1'+ self.inte_att +':'+ str(val) +'\\2', s )
H A Dgcodetools.py119 return re.sub(pattern,new,self,count)
230 s = re.sub(r"[\n\r]+", ".", s)
235 res += "(" + re.sub(r"[\(\)\\\n\r]", ".", a) + ")\n"
1546 d = "m %s,%s " % (x[0],x[1]) + re.sub("([0-9\-.e]+)",(lambda match: str(float(match.group(1))*size*2.)), "0.88464,-0.40404 c -0.0987,-0.0162 -0.186549,-0.0589 -0.26147,-0.1173 l 0.357342,-0.35625 c 0.04631,-0.039 0.0031,-0.13174 -0.05665,-0.12164 -0.0029,-1.4e-4 -0.0058,-1.4e-4 -0.0087,0 l -2.2e-5,2e-5 c -0.01189,0.004 -0.02257,0.0119 -0.0305,0.0217 l -0.357342,0.35625 c -0.05818,-0.0743 -0.102813,-0.16338 -0.117662,-0.26067 l -0.409636,0.88193 z")
2455 command = re.sub(r"\\\\",":#:#:slash:#:#:",command)
2456 command = re.sub(r"\\;",":#:#:semicolon:#:#:",command)
2459 s = re.sub(":#:#:slash:#:#:","\\\\",s)
2460 s = re.sub(":#:#:semicolon:#:#:","\\;",s)
2483 self.gcode += eval( "re.sub(%s,line)"%parameters) +"\n"
2486 self.error("Bad parameters for regexp. They should be as re.sub patter
[all...]
H A Dhpgl_encoder.py210 penNum = re.sub(r'(.* |\A)pen *(\d+)( .*|\Z)', r'\2', penNum, 1)
/inkscape/po/
H A Dbad.po.test.exp40 bad.po.test: unclosed <sub>:
42 msgstr "<sub>a<"
/inkscape/cxxtest/sample/msvc/
H A DFixFiles.bat21 sub usage() {
33 sub main {
38 sub parseCommandline() {
48 sub fixFiles() {
53 sub fixFile($$) {
/inkscape/cxxtest/
H A Dcxxtestgen.py165 return re.sub( r'\\', '/', fileName, 0 )
290 line = re.sub( r'^.*\{\{', '', line )
300 return re.sub( r'\b(E?TSM?_(ASSERT[A-Z_]*|FAIL))\s*\(',
/inkscape/src/extension/internal/
H A Dtext_reassemble.h313 int TR_findcasesub(const char *string, const char *sub);
H A Dtext_reassemble.c195 \brief Find a (sub)string in a caseinvariant manner, used for locating "Narrow" in font name
198 \param sub Text to find
200 int TR_findcasesub(const char *string, const char *sub){ argument
204 for(match=1,j=0; sub[j] && string[i+j]; j++){
205 if(toupper(sub[j]) != toupper(string[i+j])){
210 if(match && !sub[j])break; /* matched over the entire substring */
/inkscape/src/widgets/
H A Dege-select-one-action.cpp729 GtkWidget* sub = gtk_action_create_tool_item( GTK_ACTION(ract) ); local
730 gtk_activatable_set_related_action( GTK_ACTIVATABLE (sub), GTK_ACTION(ract) );
731 gtk_tool_item_set_tooltip_text( GTK_TOOL_ITEM(sub), tip );
733 gtk_box_pack_start( GTK_BOX(holder), sub, FALSE, FALSE, 0 ); local
/inkscape/src/libuemf/
H A Duemf.c1068 \return Pointer to the sub array on success, NULL otherwise.
1087 char *sub; local
1109 sub = rgba_px;
1112 sptr = sub = malloc(ew*eh*4);
1113 if(!sub)return(NULL);
1122 return(sub);

Completed in 176 milliseconds