DisplayObject.st
changeset 1579 e23c7c766c69
parent 1559 75127f6bf318
child 1675 c481d1b55c93
equal deleted inserted replaced
1578:85e8db671220 1579:e23c7c766c69
   213 	frame := self computeBoundingBox
   213 	frame := self computeBoundingBox
   214     ].
   214     ].
   215     ^ frame width
   215     ^ frame width
   216 !
   216 !
   217 
   217 
       
   218 widthFrom:startIndex to:endIndex on:aGC
       
   219     "return the width of part of myself if drawn on aCG"
       
   220 
       
   221     ^ self subclassResponsibility
       
   222 !
       
   223 
   218 widthOn:aGC
   224 widthOn:aGC
   219     "return the width of the frame if drawon on aCG"
   225     "return the width of the frame if drawn on aCG"
   220 
   226 
   221     ^ self width
   227     ^ self width
   222 
   228 
   223     "Created: 12.5.1996 / 20:20:45 / cg"
   229     "Created: 12.5.1996 / 20:20:45 / cg"
   224 ! !
   230 ! !
   513 ! !
   519 ! !
   514 
   520 
   515 !DisplayObject class methodsFor:'documentation'!
   521 !DisplayObject class methodsFor:'documentation'!
   516 
   522 
   517 version
   523 version
   518     ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.25 2002-02-26 13:05:04 cg Exp $'
   524     ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.26 2002-07-23 15:31:56 mb Exp $'
   519 ! !
   525 ! !