Download SIC'95 Report and User Manual

Transcript
61
SIC’95 Report and User Manual
BoxesPostscript.edf(fourth part)
Box -> openingBracket Width Height closingBracket
widthBox widthWidth
[widthBox := widthWidth asNumber]!
true
heightBox heightHeight
[heightBox := heightHeight asNumber]!
true
postscriptBox widthBox heightBox positionBox
[postscriptBox :=
('' ,
positionBox x printString , ' ' ,
positionBox y printString , ' moveto ' ,
widthBox printString , ' ' ,
heightBox printString , ' box
' )]!
true
| openingParenthesis Picture closingParenthesis
widthBox widthPicture
[widthBox := widthPicture]!
true
heightBox heightPicture
[heightBox := heightPicture]!
true
postscriptBox postscriptPicture
[postscriptBox := postscriptPicture]!
true
positionPicture positionBox
[positionPicture := positionBox]!
true
Height -> number
heightHeight stringnumber
[heightHeight := stringnumber]!
true
Width -> number
widthWidth stringnumber
[widthWidth := stringnumber]!
true
Painting -> Picture
positionPicture
[positionPicture := 100 @ 100]!
true