Mercurial > ~darius > hgwebdir.cgi > musiccutter
comparison musiccutter.py @ 9:e9760224e992
Fill should be none.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sat, 02 Apr 2016 23:27:56 +1030 |
parents | f07a997e9f79 |
children | 9faad813e39e |
comparison
equal
deleted
inserted
replaced
8:f07a997e9f79 | 9:e9760224e992 |
---|---|
129 | 129 |
130 @staticmethod | 130 @staticmethod |
131 def _emitnote(svg, x, y, w, h): | 131 def _emitnote(svg, x, y, w, h): |
132 svg.add(svgwrite.shapes.Rect(insert = ('%.3fcm' % (x), '%.3fcm' % (y)), | 132 svg.add(svgwrite.shapes.Rect(insert = ('%.3fcm' % (x), '%.3fcm' % (y)), |
133 size = ('%.3fcm' % (w), '%.3fcm' % (h)), | 133 size = ('%.3fcm' % (w), '%.3fcm' % (h)), |
134 stroke = 'red', stroke_width = '1px', fill = 'red')) | 134 stroke = 'red', stroke_width = '1px', fill = 'none')) |
135 | 135 |
136 if __name__ == '__main__': | 136 if __name__ == '__main__': |
137 main() | 137 main() |