BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to Rotate a Bitmap

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Renald Yazmir
Guest





PostPosted: Tue Apr 11, 2006 5:03 pm    Post subject: How to Rotate a Bitmap Reply with quote



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





PostPosted: Tue Apr 11, 2006 5:03 pm    Post subject: Re: How to Rotate a Bitmap Reply with quote



"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





PostPosted: Tue Apr 11, 2006 6:04 pm    Post subject: Re: How to Rotate a Bitmap Reply with quote



does GdipImageRotateFlip from GDI+ help?
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Apr 11, 2006 7:03 pm    Post subject: Re: How to Rotate a Bitmap Reply with quote

"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





PostPosted: Wed Apr 12, 2006 12:03 pm    Post subject: Re: How to Rotate a Bitmap Reply with quote

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





PostPosted: Wed Apr 12, 2006 6:03 pm    Post subject: Re: How to Rotate a Bitmap Reply with quote

"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.