# (C) Copyright ReportLab Inc. 1998-2000. from pingo import * def getDrawing2(): """This drawing uses groups. Each group has two circles and a comment. The line style is set at group level and should be red for the left, bvlue for the right.""" D = Drawing(400, 200, fill=colors.aqua, stroke_width=3) Group1 = Group( String(50, 50, 'Group 1', fill=colors.black), Circle(75,100,25), Circle(125,100,25), #group attributes stroke=colors.red ) D.add(Group1) Group2 = Group( String(250, 50, 'Group 2', fill=colors.black), Circle(275,100,25), Circle(325,100,25), #group attributes stroke=colors.blue ) D.add(Group2) return D