ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Picolisp latest found at http://www.software-lab.de/down.html | check also http://www.picolisp.com for more information
pierpal has quit [Ping timeout: 248 seconds]
karswell has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
aw- has quit [Ping timeout: 240 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
orivej has joined #picolisp
rob_w has joined #picolisp
aw- has joined #picolisp
aw- has quit [Client Quit]
orivej has quit [Ping timeout: 256 seconds]
andyjpb has joined #picolisp
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #picolisp
orivej has joined #picolisp
pierpal has quit [Ping timeout: 240 seconds]
rob_w has quit [Quit: Leaving]
sriram_ has joined #picolisp
<sriram_> Hi...had a question about setting up the canvas. Its size is in pixels..is there a way of getting the screen dimensions inside Pil...so that canvas size can be set appropriately?
<Regenaxer> Hi sriram_
<Regenaxer> I think it is possible, though not immediately but after the next HTTP ransaction
<Regenaxer> Not a good habit anyway, the user may resize the browser window etc.
<sriram_> Hi Regenaxer...good afternoon!
<Regenaxer> Yuu still have our dpp sources?
<sriram_> yes I do
<Regenaxer> Look for 'setScreen'
<sriram_> ah ok..
<Regenaxer> lib.screen.js
<Regenaxer> gui.screen.l
<sriram_> i think it will set some globals whenever screen is reoriented etc..
<sriram_> if i remember
<Regenaxer> yes, probably
<Regenaxer> I would rather use canvas size in percent or so
<sriram_> that is good...but the problem is the mouse values are in pixels
<Regenaxer> T
<sriram_> (I did not know that <canvas> can accept percentage also)
<Regenaxer> I'm not sure either
<Regenaxer> perhaps not :)
<sriram_> (de <canvas> (Id DX DY Alt) (prin "<canvas id=\"" Id "\" width=\"" DX "\" height=\"" DY ....
<sriram_> so not sure also what happens if i specify 80%
<sriram_> should work
<sriram_> nothing says DX and DY are numbers or strings
<Regenaxer> yep
<sriram_> but still remaining problem of how to convery mouse locations
<Regenaxer> right, must be pixels
<sriram_> convert.. yes...so if i have a grid of 10 x 10 in the canvas..trying to see how to convert pixels to grid location in a portable way
<Regenaxer> pdfPage does this for the different zoom levels
<Regenaxer> Sorry, telephone
<sriram_> oh will look at it...thanks
<Regenaxer> :)
<sriram_> :)
<sriram_> hope it solves my issue :)
orivej has quit [Ping timeout: 264 seconds]
pierpal has joined #picolisp
rob_w has joined #picolisp
rob_w has quit [Quit: Leaving]
beneroth has joined #picolisp
rick42 has quit [Ping timeout: 248 seconds]
orivej has joined #picolisp
sriram_ has quit [Ping timeout: 252 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
stix has joined #picolisp
beneroth has quit [Quit: Farewell]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
stix has quit [Quit: stix]
orivej has quit [Ping timeout: 240 seconds]