equal
deleted
inserted
replaced
981 |
981 |
982 "Modified: 12.5.1996 / 19:40:43 / cg" |
982 "Modified: 12.5.1996 / 19:40:43 / cg" |
983 ! |
983 ! |
984 |
984 |
985 setMaskOrigin:aPoint |
985 setMaskOrigin:aPoint |
|
986 <resource: #obsolete> |
986 "set the origin within the mask (used to draw with patterns). |
987 "set the origin within the mask (used to draw with patterns). |
987 OBSOLETE: use #maskOrigin: or #phase:" |
988 OBSOLETE: use #maskOrigin: or #phase:" |
988 |
989 |
|
990 self obsoleteMethodWarning:'use #maskOrigin:'. |
989 ^ self maskOriginX:aPoint x y:aPoint y |
991 ^ self maskOriginX:aPoint x y:aPoint y |
990 |
992 |
991 "Modified: / 26.1.1998 / 18:54:14 / cg" |
993 "Modified: / 26.1.1998 / 18:54:14 / cg" |
992 ! |
994 ! |
993 |
995 |
994 setMaskOriginX:x y:y |
996 setMaskOriginX:x y:y |
|
997 <resource: #obsolete> |
995 "set the origin within the mask (used to draw with patterns). |
998 "set the origin within the mask (used to draw with patterns). |
996 OBSOLETE: use #maskOriginX:y: or #phase:" |
999 OBSOLETE: use #maskOriginX:y: or #phase:" |
997 |
1000 |
|
1001 self obsoleteMethodWarning:'use #maskOriginX:y:'. |
998 ^ self maskOriginX:x y:y |
1002 ^ self maskOriginX:x y:y |
999 ! |
1003 ! |
1000 |
1004 |
1001 viewOrigin |
1005 viewOrigin |
1002 "return the drawables visible origin (for scrolling)" |
1006 "return the drawables visible origin (for scrolling)" |
2431 device flush |
2435 device flush |
2432 |
2436 |
2433 "Modified: 28.5.1996 / 20:22:26 / cg" |
2437 "Modified: 28.5.1996 / 20:22:26 / cg" |
2434 ! ! |
2438 ! ! |
2435 |
2439 |
|
2440 !GraphicsContext methodsFor:'queries'! |
|
2441 |
|
2442 fontAscent |
|
2443 "answer the ascent of the current font on the current device" |
|
2444 |
|
2445 ^ font ascentOn:device |
|
2446 ! ! |
|
2447 |
2436 !GraphicsContext class methodsFor:'documentation'! |
2448 !GraphicsContext class methodsFor:'documentation'! |
2437 |
2449 |
2438 version |
2450 version |
2439 ^ '$Header: /cvs/stx/stx/libview/GraphicsContext.st,v 1.120 2008-05-08 09:58:01 cg Exp $' |
2451 ^ '$Header: /cvs/stx/stx/libview/GraphicsContext.st,v 1.121 2008-06-28 11:40:21 stefan Exp $' |
2440 ! ! |
2452 ! ! |
2441 |
2453 |
2442 GraphicsContext initialize! |
2454 GraphicsContext initialize! |