29
29
# TODO: pattern should not derive from canvas but wrap a canvas
33
33
def __init__(self, painttype=1, tilingtype=1, xstep=None, ystep=None,
34
34
bbox=None, trafo=None, bboxenlarge=5*unit.t_pt, **kwargs):
36
36
attr.exclusiveattr.__init__(self, pattern)
37
37
self.id = "pattern%d" % id(self)