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

« back to all changes in this revision

Viewing changes to pyx/bbox.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:
125
125
    def includepoint_pt(self, x_pt, y_pt):
126
126
        if self.llx_pt is None:
127
127
            self.llx_pt = self.urx_pt = x_pt
128
 
            self.ury_pt = self.ury_pt = y_pt
 
128
            self.lly_pt = self.ury_pt = y_pt
129
129
        else:
130
130
            self.llx_pt = min(self.llx_pt, x_pt)
131
131
            self.lly_pt = min(self.lly_pt, y_pt)