Changeset 1796
- Timestamp:
- 07/31/07 02:59:21 (1 year ago)
- Files:
-
- gaphas/trunk/gaphas/item.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphas/trunk/gaphas/item.py
r1792 r1796 317 317 width = self.min_width 318 318 h = self._handles 319 h[ NE].x = h[NW].x + width319 h[SE].x = h[NW].x + width 320 320 321 321 … … 326 326 """ 327 327 h = self._handles 328 return float(h[ NE].x) - float(h[NW].x)328 return float(h[SE].x) - float(h[NW].x) 329 329 330 330 width = property(_get_width, _set_width) … … 347 347 height = self.min_height 348 348 h = self._handles 349 h[S W].y = h[NW].y + height349 h[SE].y = h[NW].y + height 350 350 351 351 def _get_height(self): … … 354 354 """ 355 355 h = self._handles 356 return float(h[S W].y) - float(h[NW].y)356 return float(h[SE].y) - float(h[NW].y) 357 357 358 358 height = property(_get_height, _set_height)
