equal
deleted
inserted
replaced
1210 |
1210 |
1211 center |
1211 center |
1212 "return the centerpoint in pixels of the display" |
1212 "return the centerpoint in pixels of the display" |
1213 |
1213 |
1214 ^ (width // 2) @ (height // 2) |
1214 ^ (width // 2) @ (height // 2) |
|
1215 ! |
|
1216 |
|
1217 drawingResolution |
|
1218 "return a point consisting of the actual drawing resolution |
|
1219 in pixel-per-inch horizontally and vertically. |
|
1220 On screen devices, this is the same as resolution; on postscript |
|
1221 devices, this is usually higher than the coordinate systems unit. |
|
1222 This method is provided for compatibility with postscript media, |
|
1223 to query the device if sub-pixel-coordinate drawing is possible. |
|
1224 (there are a few situations, in which resolution-independ drawing |
|
1225 leads to ugly looking output ... knowing about subPixel resolution |
|
1226 may help there.)" |
|
1227 |
|
1228 ^ self resolution |
|
1229 |
|
1230 "Created: 4.6.1996 / 15:20:43 / cg" |
|
1231 "Modified: 4.6.1996 / 17:56:26 / cg" |
1215 ! |
1232 ! |
1216 |
1233 |
1217 extent |
1234 extent |
1218 "return the extent of the display (in pixels)" |
1235 "return the extent of the display (in pixels)" |
1219 |
1236 |
4131 ! ! |
4148 ! ! |
4132 |
4149 |
4133 !DeviceWorkstation class methodsFor:'documentation'! |
4150 !DeviceWorkstation class methodsFor:'documentation'! |
4134 |
4151 |
4135 version |
4152 version |
4136 ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.93 1996-05-29 11:25:11 cg Exp $' |
4153 ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.94 1996-06-04 15:57:01 cg Exp $' |
4137 ! ! |
4154 ! ! |
4138 DeviceWorkstation initialize! |
4155 DeviceWorkstation initialize! |