nanogui: How can i rotate the image using NanoX


Previous by date: 28 Sep 2005 19:52:56 +0100 Re: nxterm, Greg Haerr
Next by date: 28 Sep 2005 19:52:56 +0100 Re: Problem with program startup (kaffe), Greg Haerr
Previous in thread: 28 Sep 2005 19:52:56 +0100 How can i rotate the image using NanoX, Sundar
Next in thread:

Subject: Re: [nanogui] How can i rotate the image using NanoX
From: "Greg Haerr" ####@####.####
Date: 28 Sep 2005 19:52:56 +0100
Message-Id: <08fc01c5c45d$065fa020$0300a8c0@RDP>

: Now i have confused about the image animation... that is how can i rotate
the image in NanoX...Is there any special functions available in NanoX for
Image Animation....
:
: I want to rotate the image file in different angles....

Microwindows engine doesn't by default rotate any images.
However, I had to rotate animated screen images in order
to the the first Doom port to Nano-X to work, since it needed
to run in portrait mode (directly to framebuffer).  So, if you
pull down the nxdoom src on the Microwindows ftp site,
you will find this (nasty) image rotation code in the i_video.c
file in that package.  It only performs a 90 degree rotation.

Good luck, if you build rotation code for other image bits per
pixel, please send it my way (since its so hard to get this right)

Regards,

Greg


Previous by date: 28 Sep 2005 19:52:56 +0100 Re: nxterm, Greg Haerr
Next by date: 28 Sep 2005 19:52:56 +0100 Re: Problem with program startup (kaffe), Greg Haerr
Previous in thread: 28 Sep 2005 19:52:56 +0100 How can i rotate the image using NanoX, Sundar
Next in thread:


Powered by ezmlm-browse 0.20.