( send a-canvas get-view-start )
Then add to get-x/get-y
Среда, 19 июня 2013, 13:47 +09:00 от 김태윤 :
>how can I get image's x and y?
>
>in short, the scrollbar was moved so I can see image's area whose x
>and y are from 90, 90 to 290, 290.
>
>at this moment, I move mouse to upper-left corner
how can I get image's x and y?
in short, the scrollbar was moved so I can see image's area whose x
and y are from 90, 90 to 290, 290.
at this moment, I move mouse to upper-left corner of the window. and get 0,0.
but I want to get 90,90.
how can I do this?
thanks!
here my code
#lang racket/gu
Thanks!
On Jun 18, 2013, at 7:36 PM, Cosme Enmanuel Zamudio Salazar wrote:
> Congratulations, already ordered the book!
>
>
>
> On Tue, Jun 18, 2013 at 9:17 AM, Matthias Felleisen
> wrote:
>
>
> Dear list members,
>
> Realm of Racket is finally out. For the first 72 hours, NoStarch.com
On Tue, Jun 18, 2013 at 6:56 AM, Greg Hendershott
wrote:
> I noticed a recent IRC exchange where someone was frustrated with
> se-path*/list, and felt it didn't help enough compared to Python's
> standard lib for this.[^1] They were trying to get the elements
> from an API like this[^2]:
>
>
>
On Tue, Jun 18, 2013 at 8:28 AM, Sean Kanaley wrote:
> Thank you Jay and Stephan for the information. So the OpenGL package is not
> the same thing as what you get with (require sgl/gl), which in turn is the
> unwrapped (require sgl)? And the OpenGL package is the "good" one?
The opengl package
Congratulations, already ordered the book!
On Tue, Jun 18, 2013 at 9:17 AM, Matthias Felleisen wrote:
>
>
> Dear list members,
>
> Realm of Racket is finally out. For the first 72 hours, NoStarch.com
> offers a 40% off coupon plus a free
> e-book version if you buy the book from their website
On Jun 18, 2013, at 4:42 PM, WarGrey Gyoudmon Ju wrote:
> May I ask if the book is written in Scribble?
No, the students had one semester of teaching languages under their belt when
they started. We first translated their knowledge to Racket and expanded from
there. Plus the designers were fa
I've ordered the book with free ebook.
May I ask if the book is written in Scribble?
On Tue, Jun 18, 2013 at 11:17 PM, Matthias Felleisen
wrote:
>
>
> Dear list members,
>
> Realm of Racket is finally out. For the first 72 hours, NoStarch.com
> offers a 40% off coupon plus a free
> e-book vers
Dear list members,
Realm of Racket is finally out. For the first 72 hours, NoStarch.com offers a
40% off coupon plus a free
e-book version if you buy the book from their website. Otherwise the book is
distributed through O'Reilly
and is available at the usual places wherever O'Reilly sell
Thank you Jay and Stephan for the information. So the OpenGL package is
not the same thing as what you get with (require sgl/gl), which in turn
is the unwrapped (require sgl)? And the OpenGL package is the "good" one?
I don't mind the matrix stuff, I just want to avoid strange type errors...
For those who build from the Racket git repository but don't subscribe
to the dev mailing list: Beware that the repository layout is about to
change.
We are reorganizing the current Racket distribution into packages. When
the repository changes, the top level of the repository will contain
the fol
FFS, I hit send key by accident. Must need more coffee.
I meant I typed '(rows) not '(row). Even with the correct
(singular), you get back '(), for the reason I mentioned.
(se-path*/lis '(row) xe)
=>
'()
On Tue, Jun 18, 2013 at 8:58 AM, Greg Hendershott
wrote:
>> 3. Can't get elemen
> 3. Can't get elements with their attributes: If I try `(se-path*/list
> '(rows) xe)` I get back '(). Huh. I guess that's because the
> elements have empty bodies -- the interesting stuff is in their
> attributes. OK, but I don't see how to get the element with attributes
> conveniently, using
I noticed a recent IRC exchange where someone was frustrated with
se-path*/list, and felt it didn't help enough compared to Python's
standard lib for this.[^1] They were trying to get the elements
from an API like this[^2]:
2011-09-10 14:41:29
2011-09-
Hi Sean,
Note that opengl only wraps GL.
unproject (gluUnproject in C) is part of the GLU library.
It seems you are mixing sgl and opengl calls.
While that is supposed to work, you have to realize that they wrap the C
arrays in different ways.
Note that GLU is deprecated because it doesn't make
Hello,
Please, find below the second call for papers for IFL 2013.
Please forward these to anyone you think may be interested.
Apologies for any duplicates you may receive.
best regards,
Jurriaan Hage
Publicity Chair of IFL
CALL FOR PAPERS
25th SYMPOSIUM ON IMPLEMENTATION AND APPLICATION OF FUN
Racket version 5.3.5 is now available from
http://racket-lang.org/
This is a special-purpose release to match the arrival of "Realm of
Racket" in bookstores. Racket v.5.3.5 adds a single `realm'
collection to the v5.3.4 release. The new collection contains the
source code that readers of Re
I don't know about unproject, but I'd recommend using the opengl package.
While it doesn't have Rackety wrappers, it is more complete and use raw
cvectors on most interfaces so it can be more obvious how to use the calls
if you know C.
On Monday, June 17, 2013, Sean Kanaley wrote:
> Hello all,
>
18 matches
Mail list logo