Environment: Siren
Instances of the subclasses of the abstract class DisplayItem are used as the items in display lists. They can generally display themselves on graphics contexts.
Instance Variables:
The subclasses add special display-related state and behavior such as an extent point and display method, or a visual item such as a string or image to display.
This implementation is MODE 1.1, STEIM, Amsterdam, May/June 1990; updated at the Lagoon in Palo Alto, July, 1991-May, 1992.
The entirety of this software is Copyright (c) 1990, Stephen Travis Pope, Nomad Object Design/Nomad Computer Music Research.
transforming
offset
color
They generally implement displayOn: aGraphicsContext and bounds accessing methods.
All Rights Reserved.
scaleBy: aPoint
Translate the receiver's offset by the argument.
scaledBy: aPoint
Translate the receiver's offset by the argument.
translateBy: aPoint
Translate the receiver's offset by the argument.
printing
Print the receiver in the given Stream.
printOn: aStream
Print the receiver in the given Stream.
accessing
Answer the receiver's display color.
color: aVal
Set the receiver's display color to the argument.
extent
Answer the extent of the receiver (dummy in this class).
extent: aPoint
Ignored
offset
Answer the receiver's offset.
offset: aPoint
Set the receiver's offset to the argument.
testing
Answer whether the receiver is a kind of DisplayItem
initialize-release
Initialize the instance variables of the receiver.
displaying
Display the receiver on the argument.
displayPostScriptOn: aPostScriptContext
Display the receiver on the argument in PostScript.
copying
Answer a shallow copy of the receiver.
bounds accessing
Answer the receiver's bounds--hack.
MetaClass: DisplayItem class
instance creation
Answer an instance of DisplayItem with the given instance variables.
offset: aPt
Answer an instance of DisplayItem with the given instance variables.