DisplayObject.st
changeset 115 963231c512ec
parent 114 e577a2f332d0
child 122 fe90d99734b7
--- a/DisplayObject.st	Sat Nov 11 17:05:49 1995 +0100
+++ b/DisplayObject.st	Wed Nov 15 17:23:09 1995 +0100
@@ -34,7 +34,7 @@
 !
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.13 1995-11-11 16:04:23 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.14 1995-11-15 16:23:09 cg Exp $'
 !
 
 documentation
@@ -66,8 +66,18 @@
     ^ self
 !
 
+computeBoundingBoxFor:aDevice
+    "compute my boundingBox into the local variable 'frame'.
+     The box is to be computed for aDevice."
+
+    "/ for backward compatibility, fall back to Display box computation
+
+    ^ self computeBoundingBox
+!
+
 computeBoundingBox
-    "compute my boundingBox into the local 'frame'"
+    "compute my boundingBox into the local variable 'frame'.
+     The box should be computed for Display."
 
     ^ self subclassResponsibility
 ! !