|
-
Jan 30th, 2002, 12:32 PM
#1
Rotated Image
Is there a way to change the agle an image is drawn using BitBlt or a simular function? Also I'm wanting to do this without using DirectX.
-
Feb 3rd, 2002, 09:50 AM
#2
Fanatic Member
I don't think so. The pixels should be rotated using very fast algorithms and in a memory DC or matrix.
-
Feb 3rd, 2002, 10:09 AM
#3
Good Ol' Platypus
There is an API called PlgBlt or something similar, someone said that it can rotate, I'm not sure. You might want to look around for it.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 5th, 2002, 03:18 PM
#4
Fanatic Member
PlgBlt() is not supported in Win9x/Me/CE, only NT/2K and probably also XP.
-
Feb 5th, 2002, 03:53 PM
#5
Good Ol' Platypus
That's the bad part. You could, I suppose, use Cos() and Sin(), but these create nasty rotation holes.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 5th, 2002, 03:54 PM
#6
Frenzied Member
well there have been a lot of posts in this forum before answering that question. If you want to do it without DX I think (can't be sure though, you should read the old threads) the code by David Brebner (www.ur.co.nz) does the job quite fast.
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 5th, 2002, 03:57 PM
#7
Good Ol' Platypus
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 5th, 2002, 04:15 PM
#8
Frenzied Member
well isn't that a great service here ?
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 5th, 2002, 05:00 PM
#9
Exactly what I needed! Thanks guys.
-
Feb 5th, 2002, 07:19 PM
#10
Good Ol' Platypus
Yea, it was all thr0p
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 6th, 2002, 07:46 AM
#11
Frenzied Member
MisanThrop!!! please
Sanity is a full time job
Puh das war harter Stoff!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|