| View previous topic :: View next topic |
| Author |
Message |
Renald Yazmir Guest
|
Posted: Tue Apr 11, 2006 5:03 pm Post subject: How to Rotate a Bitmap |
|
|
Hello
Is there a Windows API function that draws and rotates a bitmap by a degree?
Thank you
Rony. |
|
| Back to top |
|
 |
Alan Bellingham Guest
|
Posted: Tue Apr 11, 2006 5:03 pm Post subject: Re: How to Rotate a Bitmap |
|
|
"Renald Yazmir" <renald (AT) partmaker (DOT) com> wrote:
| Quote: | Is there a Windows API function that draws and rotates a bitmap by a degree?
|
If you don't need to do this under Windows 95/98/ME, then setting the
transform may well work.
Alan Bellingham
--
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK |
|
| Back to top |
|
 |
Boba Guest
|
Posted: Tue Apr 11, 2006 6:04 pm Post subject: Re: How to Rotate a Bitmap |
|
|
does GdipImageRotateFlip from GDI+ help? |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Apr 11, 2006 7:03 pm Post subject: Re: How to Rotate a Bitmap |
|
|
"Renald Yazmir" <renald (AT) partmaker (DOT) com> wrote in message
news:443bd88f$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Is there a Windows API function that draws and rotates a bitmap by a
degree? |
Not a single do-all function, no. You have to move the pixels around
manually. Read the following article for more details:
How to rotate a bitmap
http://www.leunen.com/cbuilder/rotbmp.html
Gambit |
|
| Back to top |
|
 |
Jarkko Guest
|
Posted: Wed Apr 12, 2006 12:03 pm Post subject: Re: How to Rotate a Bitmap |
|
|
Try PlgBlt function. You can rotate and stretch the device context into any
form.
Jarkko.
"Renald Yazmir" <renald (AT) partmaker (DOT) com> wrote in message
news:443bd88f$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello
Is there a Windows API function that draws and rotates a bitmap by a
degree?
Thank you
Rony.
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Apr 12, 2006 6:03 pm Post subject: Re: How to Rotate a Bitmap |
|
|
"Jarkko" <jarkko (AT) no (DOT) spam> wrote in message
news:443ce0a7$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Try PlgBlt function. You can rotate and stretch the
device context into any form.
|
Do note that PlgBlt() is not available on Win9x/Me.
Gambit |
|
| Back to top |
|
 |
|