🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
6 messages
6 total messages Started by Renald Yazmir Tue, 11 Apr 2006 16:23
How to Rotate a Bitmap
#3891
Author: Renald Yazmir
Date: Tue, 11 Apr 2006 16:23
6 lines
1054 bytes
Hello

Is there a Windows API function that draws and rotates a bitmap by a degree?

Thank you
Rony.
Re: How to Rotate a Bitmap
#3890
Author: Alan Bellingham
Date: Tue, 11 Apr 2006 16:29
10 lines
1226 bytes
"Renald Yazmir" <renald@partmaker.com> wrote:

>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
Re: How to Rotate a Bitmap
#3892
Author: Boba
Date: Tue, 11 Apr 2006 16:40
1 lines
924 bytes
does GdipImageRotateFlip from GDI+ help?
Re: How to Rotate a Bitmap
#3893
Author: Remy Lebeau (TeamB)
Date: Tue, 11 Apr 2006 18:10
15 lines
1281 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message
news:443bd88f$1@newsgroups.borland.com...

> 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
Re: How to Rotate a Bitmap
#3896
Author: Jarkko
Date: Wed, 12 Apr 2006 11:12
18 lines
1181 bytes
Try PlgBlt function. You can rotate and stretch the device context into any 
form.

Jarkko.

"Renald Yazmir" <renald@partmaker.com> wrote in message 
news:443bd88f$1@newsgroups.borland.com...
> Hello
>
> Is there a Windows API function that draws and rotates a bitmap by a 
> degree?
>
> Thank you
> Rony.
>
>
>
> 
Re: How to Rotate a Bitmap
#3898
Author: Remy Lebeau (TeamB)
Date: Wed, 12 Apr 2006 16:40
11 lines
1186 bytes
"Jarkko" <jarkko@no.spam> wrote in message
news:443ce0a7$1@newsgroups.borland.com...

> 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads