Mercurial > ~darius > hgwebdir.cgi > musiccutter
comparison musiccutter.py @ 23:63d13efa040f
Remove some lines I made while debugging.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Fri, 29 Apr 2016 17:36:46 +0930 |
parents | 65e8298f5800 |
children | 71b78f06ff03 |
comparison
equal
deleted
inserted
replaced
22:65e8298f5800 | 23:63d13efa040f |
---|---|
118 Midi2PDF.textHelper(pdf, x * mm, 1 * mm, ENGRAVE_COLOUR, False, self.fontname, self.fontsize, str(s) + 's') | 118 Midi2PDF.textHelper(pdf, x * mm, 1 * mm, ENGRAVE_COLOUR, False, self.fontname, self.fontsize, str(s) + 's') |
119 | 119 |
120 # Draw rectangle around page | 120 # Draw rectangle around page |
121 if self.drawrect: | 121 if self.drawrect: |
122 pdf.rect(0, 0, self.pagewidth * mm, self.pageheight * mm, fill = False, stroke = True) | 122 pdf.rect(0, 0, self.pagewidth * mm, self.pageheight * mm, fill = False, stroke = True) |
123 pdf.line(0, 0, 0, self.pagewidth * mm) | |
124 pdf.line(0, self.pagewidth * mm, self.pagewidth * mm, self.pageheight * mm) | |
125 pdf.line(self.pagewidth * mm, self.pageheight * mm, 0, self.pageheight * mm) | |
126 pdf.line(0, self.pageheight * mm, 0, 0) | |
127 | 123 |
128 # Draw lines per note | 124 # Draw lines per note |
129 for slot in sorted(self.slot2note.keys()): | 125 for slot in sorted(self.slot2note.keys()): |
130 ofs = (self.offset + slot * self.pitch) * mm | 126 ofs = (self.offset + slot * self.pitch) * mm |
131 if self.notelines: | 127 if self.notelines: |