Lines Matching defs:math
19 import inkex, simplestyle, math
70 scale = 2 * math.pi / (ratio * self.options.quality)
72 rotation = - math.pi * self.options.rotation / 180;
86 x = a * math.cos(theta + rotation) + \
87 self.options.penr * math.cos(ratio * theta + rotation) * flip + \
89 y = a * math.sin(theta + rotation) - \
90 self.options.penr * math.sin(ratio * theta + rotation) + \
93 dx = (-a * math.sin(theta + rotation) - \
94 ratio * self.options.penr * math.sin(ratio * theta + rotation) * flip) * scale / 3
95 dy = (a * math.cos(theta + rotation) - \
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: