Untitled diff
1 removal
7 lines
2 additions
8 lines
svgdoc.add(svgdoc.rect(insert = ("{0}px".format(colcount * arguments.squaresize),
svgdoc.add(svgdoc.rect(insert = ("{0}px".format(colcount * arguments.squaresize),
"{0}px".format(rowcount * arguments.squaresize)),
"{0}px".format(rowcount * arguments.squaresize)),
size = ("{0}px".format(arguments.squaresize + arguments.overlap),
size = ("{0}px".format(arguments.squaresize + arguments.overlap),
"{0}px".format(arguments.squaresize + arguments.overlap)),
"{0}px".format(arguments.squaresize + arguments.overlap)),
fill = svgwrite.rgb(rgb_tuple[0],
fill = svgwrite.rgb(rgb_tuple[0],
rgb_tuple[1],
rgb_tuple[1],
rgb_tuple[2])))
rgb_tuple[2]),
opacity = rgb_tuple[3]/float(255)))