[racket] Racket/gui : How to rotate a bitmap% ?
If you are using 2htdp/image, you can use 'rotate'
http://pre.racket-lang.org/docs/html/teachpack/2htdpimage.html#(def._((lib._2htdp/image..rkt)._rotate))
If you are using a dc directly with draw-bitmap, you can use a
different 'rotate'
http://pre.racket-lang.org/docs/html/draw/dc___.html?q=draw-bitmap#(meth._(((lib._racket/draw..rkt)._dc~3c~25~3e)._rotate))
How are you drawing?
Jay
2011年5月2日15:30 Jyu 。 <julien-0659 at hotmail.fr>:
> Hi !
> For a school project who use the chipmunk 2D physics library, I need to
> rotate an image (instance of bitmap%)..
> I searched for a long time but I have not found, someone know how can I do
> this ?
> Thanks.
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93