3059 |
3059 |
3060 displayOn:aGc x:x y:y |
3060 displayOn:aGc x:x y:y |
3061 "display the receiver in a graphicsContext - this method allows |
3061 "display the receiver in a graphicsContext - this method allows |
3062 strings to be used like DisplayObjects." |
3062 strings to be used like DisplayObjects." |
3063 |
3063 |
3064 ^ aGc displayString:self string x:x y:y. |
3064 self displayOn:aGc x:x y:y opaque:false |
|
3065 |
|
3066 "Modified: 11.5.1996 / 14:42:48 / cg" |
|
3067 ! |
|
3068 |
|
3069 displayOn:aGC x:x y:y from:start to:stop |
|
3070 "display the receiver on a GC" |
|
3071 |
|
3072 "q&d hack" |
|
3073 |
|
3074 (self copyFrom:start to:stop) displayOn:aGC x:x y:y opaque:false |
|
3075 |
|
3076 "Modified: 12.5.1996 / 12:49:33 / cg" |
|
3077 ! |
|
3078 |
|
3079 displayOn:aGc x:x y:y opaque:opq |
|
3080 "display the receiver in a graphicsContext - this method allows |
|
3081 strings to be used like DisplayObjects." |
|
3082 |
|
3083 |s| |
|
3084 |
|
3085 s := self string. |
|
3086 opq ifTrue:[ |
|
3087 aGc displayOpaqueString:s x:x y:y. |
|
3088 ] ifFalse:[ |
|
3089 aGc displayString:s x:x y:y. |
|
3090 ]. |
3065 |
3091 |
3066 "Modified: 11.5.1996 / 14:42:48 / cg" |
3092 "Modified: 11.5.1996 / 14:42:48 / cg" |
3067 ! |
3093 ! |
3068 |
3094 |
3069 displayOpaqueOn:aGc x:x y:y |
3095 displayOpaqueOn:aGc x:x y:y |
3070 "display the receiver in a graphicsContext - this method allows |
3096 "display the receiver in a graphicsContext - this method allows |
3071 strings to be used like DisplayObjects." |
3097 strings to be used like DisplayObjects." |
3072 |
3098 |
3073 ^ aGc displayOpaqueString:self string x:x y:y. |
3099 self displayOn:aGc x:x y:y opaque:true |
3074 |
3100 |
3075 "Modified: 11.5.1996 / 14:42:48 / cg" |
3101 "Modified: 11.5.1996 / 14:42:48 / cg" |
3076 "Created: 12.5.1996 / 12:28:40 / cg" |
3102 "Created: 12.5.1996 / 12:28:40 / cg" |
|
3103 ! |
|
3104 |
|
3105 displayOpaqueOn:aGC x:x y:y from:start to:stop |
|
3106 "display the receiver on a GC" |
|
3107 |
|
3108 "q&d hack" |
|
3109 |
|
3110 (self copyFrom:start to:stop) displayOn:aGC x:x y:y opaque:true |
|
3111 |
|
3112 "Created: 12.5.1996 / 12:29:37 / cg" |
|
3113 "Modified: 12.5.1996 / 12:49:19 / cg" |
3077 ! ! |
3114 ! ! |
3078 |
3115 |
3079 !CharacterArray methodsFor:'emphasis'! |
3116 !CharacterArray methodsFor:'emphasis'! |
3080 |
3117 |
3081 emphasis |
3118 emphasis |