Use #theta inseat of obsolete #angle.
--- a/GraphicsContext.st Mon Mar 15 18:05:57 2004 +0100
+++ b/GraphicsContext.st Mon Mar 15 23:38:10 2004 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1992 by Claus Gittinger
All Rights Reserved
@@ -1892,9 +1890,9 @@
p := (w@h) / 2.
r := p r.
- a := p angle.
- sin := angle degreesToRadians sin.
- cos := angle degreesToRadians cos.
+ a := p theta.
+ sin := angle sin.
+ cos := angle cos.
angle < 90 ifTrue:[
dX := descent * sin.
@@ -2282,7 +2280,7 @@
!GraphicsContext class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/GraphicsContext.st,v 1.101 2004-03-05 14:27:22 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/GraphicsContext.st,v 1.102 2004-03-15 22:38:10 stefan Exp $'
! !
GraphicsContext initialize!