--- bill lam <[EMAIL PROTECTED]> wrote:
> environment j601 p beta/win32 > > In working with print preview, I found that glwindoworg does not work (which > works in j504), I borrow Oleg's fontscale.ijs for demo. Strange... but the example below works, even going negative. If that's a limitation of an off-screen canvas, you could instead control offset by x,y of glpixels. NB. ========================================================= require 'gl2' coinsert 'jgl2' F=: 0 : 0 pc f; pn "Window Origin"; xywh 0 0 200 200;cc g isigraph rightmove bottommove; pas 0 0;pcenter; rem form end; ) f_run=: 3 : 0 wd F wd 'pshow;' ) f_close=: 3 : 0 wd'pclose' ) f_g_paint=: 3 : 0 'W H'=. glqwh '' glclear'' glwindoworg org=. -:(W,H)-140 120 gllines 0 120,0 0,140 0 glrect 10 10, 120, 20 gltextxy 10 40 gltext 'Origin ',":org ) f_run'' __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
