fill_color=(0.5, 0.5, 0.5, 0.2))
self.backend.active_group = old_active_group
fill_color=(0.5, 0.5, 0.5, 0.2))
self.backend.active_group = old_active_group
# Draw the normal template for squares
for square in self.tetraflexagon.squares:
self.draw_square_template(square)
# Draw the normal template for squares
for square in self.tetraflexagon.squares:
self.draw_square_template(square)
super(SvgwriteTetraflexagonDiagram, self).draw_tile_template(tile, cx, cy, theta)
super(SvgwriteTetraflexagonDiagram, self).draw_tile_template(tile, cx, cy, theta)
# element, so get it and set its id so that it can be reused as
# a clip-path
for element in self.backend.active_group.elements:
# element, so get it and set its id so that it can be reused as
# a clip-path
for element in self.backend.active_group.elements: