summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3ad27a2)
The color calculation is exactly the same as done some lines above.
if model.show_labels:
ta = self.normalized_angle_01(rotated_radial_orientation_angle)
text = ("%.2f" % (ta * 360)).rstrip('0').rstrip('.')
if model.show_labels:
ta = self.normalized_angle_01(rotated_radial_orientation_angle)
text = ("%.2f" % (ta * 360)).rstrip('0').rstrip('.')
- color = colorsys.hsv_to_rgb(a, 1.0, 1.0)
self.draw_centered_text(v[0], v[1], text,
rotated_radial_orientation_angle, color,
align_baseline=True)
self.draw_centered_text(v[0], v[1], text,
rotated_radial_orientation_angle, color,
align_baseline=True)