Changeset 2081

Show
Ignore:
Timestamp:
09/04/07 03:14:33 (1 year ago)
Author:
arj..@yirdis.nl
Message:

Added atrificial (0, 0) point to the canvas bounding box.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphas/trunk/gaphas/view.py

    r2080 r2081  
    495495        if not allocation: 
    496496            allocation = self.allocation 
    497         x, y, w, h = self.bounding_box 
     497        # Bounding box is intersected with a (0, 0) point 
     498        x, y, w, h = self.bounding_box + (self.matrix.transform_point(0, 0) + (0, 0)) 
    498499        self._update_adjustment(self._hadjustment, 
    499500                                value = self._hadjustment.value,