Eric,
Don't know if I even understand what the bug is, but I notice
that the display in the graphics window is different than what
"see '' " displays - in that the last element is a rather larger
circle - about 4 times the diamater of the square next to it...
Also, not sure of the reason(s) - but my result looks differnt
(but better) than the "good result" you show. Maybe I need to
go back and study the early exchanges about this because I'm
confused what is a bug, good, bad, etc....
Here is a clip from my current G5 iMac jw -
load '/usr/local/lib/j601/temp/5.ijs'
f_run ''
see ''
* ** *** *** * * **** ****
* * * * *** * * * *
*** *** **** * *
version ''
Binary: j601binubeta_darwin
Library: j601libubeta
Help: j601hlpubeta
Engine: j601/beta/2006-08-16/22:30
ProductName: Mac OS X
ProductVersion: 10.4.7
BuildVersion: 8J135
java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard
Edition (build 1.5.0_06-112) Java HotSpot(TM) Client VM (build
1.5.0_06-64, mixed mode, sharing)
At 09:33 -0400 2006/08/25, Eric Iverson wrote:
To: Mac users with the glrect bug (display at Y-1) please report the
result from the following experiment:
run script
f_run''
see''
paste the see result in an email message
The good result looks like (must be displayed with fixed pitch font):
* ** *** *** *** ** ***
* * * * * * * * ** **
*** *** *** ** * *
The display contains: pixel; line; lines for rect, polygon for rect;
rect; round rect; circle top. The problem shows up in the top line.
*** glymacbug.ijs
coinsert 'jgl2' [ require 'gl2'
f_run=: 3 : 0
wd 'pc f;xywh 0 0 50 50;cc g isigraph;pas 0 0;'
NB. initialize form here
wd 'pshow;'
)
f_close=: wd bind 'pclose'
f_g_paint=: 3 : 0
x=. 0
glpixel x, 0
x=.3+x
gllines x, 0 5 0
x=. 6+x
y=. 2+x
gllines x, 0, y,0,y,2,x,2,x,0
x=. 6+x
y=. 2+x
glpolygon x, 0, y,0,y,2,x,2,x,0
x=. 6+x
glrect x, 0 3 3
x=. 6+x
glroundr x, 0 4 3 2 2
x=. 6+x
glellipse x, 0 10 10
)
see=: 3 : 0
wd'psel f'
' *'{~0=3 45$glqpixels 0 0 45 3
)
inv=: 3 : 0
wd'psel f;setinvalid g'
)
***
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm