Re: [Jbeta] definition of RGB value for glpixels

2006-08-10 Thread Oleg Kobchenko
Thanks for the note on Linux. I noticed that too, but I wanted a clean case first. It turns out Linux represents color not in ints (as glpixels does: ARGB, where B=256|c), but in 4-element arrays of bytes, always RGBA, R=c[0].

[Jbeta] Black rectangle in isigraph and error

2006-08-10 Thread Oleg Kobchenko
I have been experimenting with offscreen isisgraph which is resized with other visible isisgraph as shown in fontscale.ijs. http://www.jsoftware.com/jwiki/Scripts/Font_Fit In addition to the issue with black rectangles, when you resize the window large engough, in the end, when closign J it

Re: [Jbeta] Black rectangle in isigraph and error

2006-08-10 Thread Eric Iverson
The non-unique sparse elements is due to a wd bug. I forget the details. One variant of this has been fixed in the next beta so please test again. A buffer overflow, rather than resizing and continuing, gets confused as an error with a curious number. - Original Message - From: Oleg

Re: [Jbeta] Black rectangle in isigraph and error

2006-08-10 Thread Eric Iverson
Interesting problem. I need to dig a bit deeper, but suspect fixing it may beyond the scope of the 601 release. The problem is that the memory buffer for an isigraph's pixels is only created 'when necessary'. Your h isigraph is hidden and doesn't get paint events when resized and what

Re: [Jbeta] Black rectangle in isigraph and error

2006-08-10 Thread Eric Iverson
A quick test shows that using another unshown form works OK. 1. remove cc h isigraph from form create. 2. change f_g_paint as follows: f_g_paint=: 3 : 0 glsel 'g' wh=. 2*glqwh'' wd'pc abc;cc h isigraph;setxywhx h 0 0 ',:wh glclear '' q=. 16b010101*av2 av2.|: 256|q wd'pclose'

Re: [Jbeta] Black rectangle in isigraph and error

2006-08-10 Thread Oleg Kobchenko
That's most adequate and the speed or memory difference is undetectible. So it's not as much a workaround, but rather the proper way to do the thing. Thank you. --- Eric Iverson [EMAIL PROTECTED] wrote: A quick test shows that using another unshown form works OK. 1. remove cc h isigraph

Re: [Jbeta] 6!:0 '' always return integer seconds on linux box

2006-08-10 Thread Eric Iverson
Thanks for reporting this problem. It has been fixed in the next beta. - Original Message - From: Xu Zuoqian [EMAIL PROTECTED] To: beta@jsoftware.com Sent: Thursday, August 10, 2006 12:54 AM Subject: [Jbeta] 6!:0 '' always return integer seconds on linux box According to the

Re: [Jbeta] Black rectangle in isigraph and error

2006-08-10 Thread Eric Iverson
It also works in Jwdp, which is nice. - Original Message - From: Oleg Kobchenko [EMAIL PROTECTED] To: Beta forum beta@jsoftware.com Sent: Thursday, August 10, 2006 7:26 PM Subject: Re: [Jbeta] Black rectangle in isigraph and error That's most adequate and the speed or memory

[Jbeta] x y w h in glpixels family

2006-08-10 Thread bill lam
glpixels x y w h pixeldata ; I think the documentation for glpixels should mention that x y are in logical unit (pixel or twips), but w h are always in pixels. Simiarly for glqpixels and glpixelsx. -- regards, bill -- For