Searched refs:options (Results 1 - 25 of 112) sorted by relevance

12345

/inkscape/share/extensions/
H A Dgrid_polar.py6 ##There is a wide range of options including subdivision and labels.
124 self.options.dr = self.unittouu(str(self.options.dr) + 'px')
125 self.options.r_divs_th = self.unittouu(str(self.options.r_divs_th) + 'px')
126 self.options.r_subdivs_th = self.unittouu(str(self.options.r_subdivs_th) + 'px')
127 self.options.a_divs_th = self.unittouu(str(self.options.a_divs_th) + 'px')
128 self.options
[all...]
H A Dgrid_cartesian.py6 ##There is a wide range of options including subdivision, subsubdivions
127 self.options.border_th = self.unittouu(str(self.options.border_th) + 'px')
128 self.options.dx = self.unittouu(str(self.options.dx) + 'px')
129 self.options.x_divs_th = self.unittouu(str(self.options.x_divs_th) + 'px')
130 self.options.x_subdivs_th = self.unittouu(str(self.options.x_subdivs_th) + 'px')
131 self.options
[all...]
H A Dweb-set-att.py57 if len(self.options.ids) < 2:
63 if self.options.from_and_to == "g-to-one":
65 for selId in self.options.ids[:-1]:
67 idTo.append( self.options.ids[-1] )
70 elFrom.append( self.selected[ self.options.ids[0] ] )
71 for selId in self.options.ids[1:]:
75 "att:'"+ self.options.att +"', " + \
76 "val:'"+ self.options.val +"'})"
79 prevEvCode = el.get( self.options.when )
82 if self.options
[all...]
H A Dspirograph.py51 self.options.primaryr = self.unittouu(str(self.options.primaryr) + 'px')
52 self.options.secondaryr = self.unittouu(str(self.options.secondaryr) + 'px')
53 self.options.penr = self.unittouu(str(self.options.penr) + 'px')
55 if self.options.secondaryr == 0:
57 if self.options.quality == 0:
60 if(self.options.gearplacement.strip(' ').lower().startswith('outside')):
61 a = self.options
[all...]
H A Dweb-transmit-att.py53 if len(self.options.ids) < 2:
59 if self.options.from_and_to == "g-to-one":
61 for selId in self.options.ids[:-1]:
63 idTo.append( self.options.ids[-1] )
66 elFrom.append( self.selected[ self.options.ids[0] ] )
67 for selId in self.options.ids[1:]:
72 "att:'"+ self.options.att +"'})"
75 prevEvCode = el.get( self.options.when )
78 if self.options.compatibility == 'append':
80 if self.options
[all...]
H A Dplotter.py79 self.options.showMovements = True
80 self.options.docWidth = self.uutounit(self.unittouu(self.document.getroot().get('width')), "px")
81 self.options.docHeight = self.uutounit(self.unittouu(self.document.getroot().get('height')), "px")
82 myHpglDecoder = hpgl_decoder.hpglDecoder(self.hpgl, self.options)
89 if self.options.commandLanguage == 'HPGL':
91 if self.options.commandLanguage == 'DMPL':
93 if self.options.commandLanguage == 'KNK':
96 if self.options.debug:
104 if self.options.force > 0:
105 hpglInit += ';FS%d' % self.options
[all...]
H A Dgrid_isometric.py6 #There is some options including subdivision, subsubdivions and custom line width
88 self.options.dx = self.unittouu(str(self.options.dx) + 'px')
89 self.options.divs_th = self.unittouu(str(self.options.divs_th) + 'px')
90 self.options.subdivs_th = self.unittouu(str(self.options.subdivs_th) + 'px')
91 self.options.subsubdivs_th = self.unittouu(str(self.options.subsubdivs_th) + 'px')
92 self.options
[all...]
H A Dperfectboundcover.py94 if self.options.paperthickness > 0:
95 if self.options.paperthicknessmeasurement == "width":
96 paper_spine = self.options.paperthickness
98 paper_spine = self.options.pages / switch[self.options.paperthicknessmeasurement](self.options.paperthickness)
102 if self.options.coverthickness > 0:
103 if self.options.coverthicknessmeasurement == "width":
104 cover_spine = self.options.coverthickness
106 cover_spine = 4.0 / switch[self.options
[all...]
H A Drestack.py68 if self.options.tab == '"help"':
71 if self.options.tab == '"positional"':
73 elif self.options.tab == '"z_order"':
83 if self.options.nb_direction == '"custom"':
84 self.options.direction = "aa"
87 firstobject = self.selected[self.options.ids[0]]
149 if self.options.xanchor == "l":
151 elif self.options.xanchor == "r":
156 if self.options.yanchor == "t":
158 elif self.options
[all...]
H A Dhpgl_decoder.py29 def __init__(self, hpglString, options):
30 ''' options:
38 self.options = options
39 self.scaleX = options.resolutionX / 25.4 # dots/inch to dots/mm
40 self.scaleY = options.resolutionY / 25.4 # dots/inch to dots/mm
45 self.oldCoordinates = (0.0, self.options.docHeight)
51 (self.options.docWidth, self.options.docHeight, self.options
[all...]
H A Dcolor_HSL_adjust.py47 if (self.options.random_hue):
49 elif (self.options.hue):
50 hueval = hsl[0] + (self.options.hue / 360.0)
52 if(self.options.random_saturation):
54 elif (self.options.saturation):
55 satval = hsl[1] + (self.options.saturation / 100.0)
57 if(self.options.random_lightness):
59 elif (self.options.lightness):
60 lightval = hsl[2] + (self.options.lightness / 100.0)
H A DjessyInk_effects.py56 if (self.options.effectIn == "appear") or (self.options.effectIn == "fade") or (self.options.effectIn == "pop"):
57 node.set("{" + inkex.NSS["jessyink"] + "}effectIn","name:" + self.options.effectIn + ";order:" + self.options.effectInOrder + ";length:" + str(int(self.options.effectInDuration * 1000)))
65 if (self.options.effectOut == "appear") or (self.options.effectOut == "fade") or (self.options.effectOut == "pop"):
66 node.set("{" + inkex.NSS["jessyink"] + "}effectOut","name:" + self.options
[all...]
H A Dsvgcalendar.py138 #inkex.errormsg( self.options.input_encode )
140 m = re.match('\s*(.*[^\s])\s*', self.options.month_names)
141 self.options.month_names = re.split('\s+', m.group(1))
142 m = re.match('\s*(.*[^\s])\s*', self.options.day_names)
143 self.options.day_names = re.split('\s+', m.group(1))
145 if len(self.options.month_names) != 12:
147 str(self.options.month_names) + \
149 self.options.month_names = ['January', 'February', 'March',
153 if len(self.options.day_names) != 7:
155 str(self.options
[all...]
H A Dtriangle.py126 self.options.s_a = self.unittouu(str(self.options.s_a) + 'px')
127 self.options.s_b = self.unittouu(str(self.options.s_b) + 'px')
128 self.options.s_c = self.unittouu(str(self.options.s_c) + 'px')
131 if self.options.mode == '3_sides':
132 s_a = self.options.s_a
133 s_b = self.options.s_b
134 s_c = self.options
[all...]
H A Dwebslicer_create_rect.py82 name = self.options.name
94 self.options.name = name+'-'+num_s
98 self.options.format = self.options.ensure_value('format', 'png').lower()
99 if not is_empty( self.options.dimension ):
100 self.options.dimension
108 if is_empty(self.options.name):
109 self.options.name = 'slice-00'
111 rect.set('id', self.options.name)
119 conf_txt = "format:"+ self.options
[all...]
H A Dradiusrand.py67 if self.options.end:
68 delta=randomize([0,0], self.options.radiusx, self.options.radiusy, self.options.norm)
75 if self.options.ctrl:
76 csp[0]=randomize(csp[0], self.options.radiusx, self.options.radiusy, self.options.norm)
77 csp[2]=randomize(csp[2], self.options.radiusx, self.options
[all...]
H A DjessyInk_transitions.py52 if self.options.layerName != "":
53 nodes = self.document.xpath(unicode("//*[@inkscape:groupmode='layer' and @inkscape:label='" + self.options.layerName + "']", 'utf-8'), namespaces=inkex.NSS)
59 if self.options.effectIn == "default":
63 nodes[0].set("{" + inkex.NSS["jessyink"] + "}transitionIn","name:" + self.options.effectIn + ";length:" + str(int(self.options.effectInDuration * 1000)))
64 if self.options.effectOut == "default":
68 nodes[0].set("{" + inkex.NSS["jessyink"] + "}transitionOut","name:" + self.options.effectOut + ";length:" + str(int(self.options.effectOutDuration * 1000)))
H A Dmarkers_strokepaint.py4 Copyright (C) 2010 Nicolas Dufour, nicoduf@yahoo.fr (color options)
87 if self.options.tab == '"object"':
90 if (self.options.invert):
96 if (self.options.assign_alpha):
99 if (self.options.invert):
105 if (self.options.fill_type == "solid"):
107 if (self.options.assign_alpha):
110 elif self.options.tab == '"custom"':
111 fill_red = ((self.options.fill_color >> 24) & 255)
112 fill_green = ((self.options
[all...]
H A Drtree.py57 self.options.size = self.unittouu(str(self.options.size) + 'px')
58 self.options.minimum = self.unittouu(str(self.options.minimum) + 'px')
67 rtree(t, self.options.size, self.options.minimum, self.options.pentoggle)
H A Dedge3d.py59 delta = 360. / self.options.shades / 2.
61 for shade in range(0, self.options.shades):
62 if self.options.bw and shade > 0 and shade < self.options.shades-1:
64 self.start = [self.options.angle - delta * (shade+1)]
65 self.end = [self.options.angle - delta * (shade)]
66 self.start.append( self.options.angle + delta * (shade) )
67 self.end.append( self.options.angle + delta * (shade+1) )
68 self.makeShade(float(shade)/float(self.options.shades-1))
74 delta = 360. / self.options
[all...]
H A Dlindenmayer.py66 self.rules = dict([map(stripme, i.split("=")) for i in self.options.rules.upper().split(";") if i.count("=")==1])
67 string = self.__recurse(self.options.axiom.upper(),0)
77 self.turtle.fd(self.options.step * (random.normalvariate(1.0, 0.01 * self.options.randomizestep)))
80 self.turtle.fd(self.options.step * (random.normalvariate(1.0, 0.01 * self.options.randomizestep)))
82 self.turtle.lt(self.options.langle * (random.normalvariate(1.0, 0.01 * self.options.randomizeangle)))
84 self.turtle.rt(self.options.rangle * (random.normalvariate(1.0, 0.01 * self.options
[all...]
H A Dempty_page.py21 if self.options.page_size == "a5":
26 if self.options.page_size == "a4":
31 if self.options.page_size == "a3":
36 if self.options.page_size == "letter":
41 if self.options.page_orientation == "horizontal":
61 if self.options.page_background == "white":
67 if self.options.page_background == "gray":
73 if self.options.page_background == "black":
79 if self.options.page_noborder:
H A Dcolor_custom.py31 if v > float(self.options.scale):
32 return float(self.options.scale)
39 factor = 255.0/float(self.options.scale)
48 r2=self.normalize(eval(self.options.rFunction,safeenv))
49 g2=self.normalize(eval(self.options.gFunction,safeenv))
50 b2=self.normalize(eval(self.options.bFunction,safeenv))
/inkscape/share/extensions/test/
H A Dsvgcalendar.test.py17 self.assertEqual( e.options.month_names[0], 'January' )
18 self.assertEqual( e.options.month_names[11], 'December' )
19 self.assertEqual( e.options.day_names[0], 'Sun' )
20 self.assertEqual( e.options.day_names[6], 'Sat' )
30 self.assertEqual( e.options.month_names[0], 'JAN' )
31 self.assertEqual( e.options.month_names[11], 'DEZ' )
32 self.assertEqual( e.options.day_names[0], 'DOM' )
33 self.assertEqual( e.options.day_names[6], 'SAB' )
43 self.assertEqual( e.options.month_names[0], 'JAN' )
44 self.assertEqual( e.options
[all...]
/inkscape/src/libdepixelize/
H A Dkopftracer2011.h67 // Other options
75 * \p options.optimize and options.nthreads will be ignored
81 const Options &options = Options());
84 * \p options.optimize and options.nthreads will be ignored
87 const Options &options = Options());
92 * \p options.optimize and options.nthreads will be ignored
98 const Options &options
[all...]

Completed in 506 milliseconds

12345