There were 2 verbs in a row, can you change them into 2 sentences: glrgb BRUSHCOLO glbrush ''
to see which verb failed or it can fix the issue? On 05.12.2014, at 0:40, Michal Wallace <[email protected]> wrote: > Hey Bill, > > Sorry for taking so long to respond to this. My last post was just meant as > a reference for anyone getting started with graphics, but I guess I should > have elaborated on the problem that lead me to use the gl* instead of gd* > commands. > > I haven't tracked down what's causing it, but in 803, if you run: > help > studio > labs > category:graphics > graph utilities > > There is an error on step 7: > > | domain error: chkgl2 > | glbrush glrgb BRUSHCOLO > > It works fine in 802, and I've verified that other users have this problem > on both windows and android. > > -Michal > > > On Wed, Nov 19, 2014 at 4:33 AM, bill lam <[email protected]> wrote: > >> I didn't try your script or know what it was expected to show or >> what was broken. Perhaps you can clarify. >> >> Henry Rich had written some remarks on glrect in jwiki >> >> >> http://www.jsoftware.com/jwiki/Guides/Window%20Driver/gl2%20Command%20Reference >> >> May be that can explain your problem. That said, glrect is just >> a very thin cover function for Qt painter class, so that I >> believe that is the way of how Qt draws. >> >> Ср, 19 ноя 2014, Michal Wallace написал(а): >>> Some of the docs about graphics are out of date since the move to QT, >>> and the gdxxx verbs broke (at least for me) in the upgrade to j803/QT5. >>> >>> So: I spent some time today putting together a little demo that shows how >>> to use isigraph to draw to the screen and handle raw keyboard events: >>> >>> https://github.com/tangentstorm/tangentlabs/blob/master/j/gltest0.ijs >>> >>> It doesn't do anything interesting visually. I just thought someone >>> else might find it useful and/or teach me the error of my ways. :) >>> >>> I also used it to render a bitmapped font I made back in the DOS days: >>> >>> http://i.imgur.com/fo4XcqF.png >>> https://github.com/tangentstorm/tangentlabs/blob/master/j/dosfont.ijs >>> >>> I've implemented a bitmapped text display like this in 4 other languages >>> over the years, and none of them have ever made the job this easy. :) >>> >>> -Michal >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >> >> -- >> regards, >> ==================================================== >> GPG key 1024D/4434BAB3 2008-08-24 >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
