~ubuntu-branches/debian/sid/pyx/sid

« back to all changes in this revision

Viewing changes to pyx/canvasitem.py

  • Committer: Package Import Robot
  • Author(s): Stuart Prescott
  • Date: 2012-12-17 13:45:12 UTC
  • mto: (9.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: package-import@ubuntu.com-20121217134512-q85pr3q75fxii7mq
Tags: upstream-0.12.1
ImportĀ upstreamĀ versionĀ 0.12.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
    def bbox(self):
28
28
        """return bounding box of canvasitem"""
 
29
        # TODO: we either should raise a NotImplementedError here or return
 
30
        # an empty bounding box instance, as adding empty to a bouding box is
 
31
        # allowed. (We could also alter the merging behavior of bboxes to allow
 
32
        # None. Currently, canvasitem instances not overwriting this bbox method
 
33
        # lead to an error.)
29
34
        pass
30
35
 
31
36
    def processPS(self, file, writer, context, registry, bbox):