Lines Matching refs:options
51 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.primaryr + self.options.secondaryr
64 a = self.options.primaryr - self.options.secondaryr
67 ratio = a / self.options.secondaryr
70 scale = 2 * math.pi / (ratio * self.options.quality)
72 rotation = - math.pi * self.options.rotation / 180;
87 self.options.penr * math.cos(ratio * theta + rotation) * flip + \
90 self.options.penr * math.sin(ratio * theta + rotation) + \
94 ratio * self.options.penr * math.sin(ratio * theta + rotation) * flip) * scale / 3
96 ratio * self.options.penr * math.cos(ratio * theta + rotation)) * scale / 3
103 if math.fmod(i / ratio, self.options.quality) == 0 and i % self.options.quality == 0: