Click here to Skip to main content
15,916,846 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to make fullscreen game animation ? Pin
Mazdak20-Jan-04 22:05
Mazdak20-Jan-04 22:05 
AnswerRe: how to make fullscreen game animation ? Pin
Hauptman(n)21-Jan-04 3:43
Hauptman(n)21-Jan-04 3:43 
QuestionStart Calculator and active it again? Pin
god4k20-Jan-04 18:57
god4k20-Jan-04 18:57 
AnswerRe: Start Calculator and active it again? Pin
Kannan Kalyanaraman20-Jan-04 20:05
Kannan Kalyanaraman20-Jan-04 20:05 
GeneralToolbar button images disappear at runtime Pin
Jason Liu20-Jan-04 13:34
Jason Liu20-Jan-04 13:34 
GeneralRe: Toolbar button images disappear at runtime Pin
Anders Molin20-Jan-04 15:20
professionalAnders Molin20-Jan-04 15:20 
GeneralRe: Toolbar button images disappear at runtime Pin
Jason Liu20-Jan-04 15:51
Jason Liu20-Jan-04 15:51 
GeneralRe: Toolbar button images disappear at runtime Pin
Anders Molin20-Jan-04 15:54
professionalAnders Molin20-Jan-04 15:54 
GeneralRe: Toolbar button images disappear at runtime Pin
Jason Liu20-Jan-04 21:55
Jason Liu20-Jan-04 21:55 
QuestionHow to insert a tab into the label text? Pin
Jason Liu20-Jan-04 13:30
Jason Liu20-Jan-04 13:30 
AnswerRe: How to insert a tab into the label text? Pin
Heath Stewart21-Jan-04 4:45
protectorHeath Stewart21-Jan-04 4:45 
GeneralWeird Prob with input keys and toolbar Pin
cgcrute20-Jan-04 12:26
cgcrute20-Jan-04 12:26 
GeneralRe: Weird Prob with input keys and toolbar Pin
Heath Stewart21-Jan-04 4:37
protectorHeath Stewart21-Jan-04 4:37 
GeneralRe: Weird Prob with input keys and toolbar Pin
cgcrute21-Jan-04 4:50
cgcrute21-Jan-04 4:50 
Generalprinter Handshake Pin
Ankwa20-Jan-04 11:46
Ankwa20-Jan-04 11:46 
GeneralRe: printer Handshake Pin
Tom Larsen21-Jan-04 4:56
Tom Larsen21-Jan-04 4:56 
GeneralRe: printer Handshake Pin
Ankwa21-Jan-04 21:16
Ankwa21-Jan-04 21:16 
GeneralSecurity exception running from network Pin
cje20-Jan-04 11:19
cje20-Jan-04 11:19 
GeneralRe: Security exception running from network Pin
scadaguy20-Jan-04 11:34
scadaguy20-Jan-04 11:34 
GeneralRe: Security exception running from network Pin
cje20-Jan-04 11:42
cje20-Jan-04 11:42 
GeneralRe: Security exception running from network Pin
Heath Stewart20-Jan-04 14:58
protectorHeath Stewart20-Jan-04 14:58 
GeneralImage Rotation with GDI Pin
MrEyes20-Jan-04 9:29
MrEyes20-Jan-04 9:29 
GeneralRe: Image Rotation with GDI Pin
Mazdak20-Jan-04 9:45
Mazdak20-Jan-04 9:45 
GeneralRe: Image Rotation with GDI Pin
MrEyes21-Jan-04 6:07
MrEyes21-Jan-04 6:07 
Thanks for the reply, obviously missed that one Smile | :)

Just incase anybody is searching the forums for the same answer as I was. The project above does exactly what it says on the tin, but it over complicates something that turns out to be quite simple.

I found that an bitmap object has a RotateFlip method, that allows you to specify certain flip and rotation methods.

e.g.
myBmp.RotateFlip(RotateFlipType.RotateNoneFlipY);
myBmp.RotateFlip(RotateFlipType.RotateNoneFlipX);
....(and many more)

These work as they should, but you need to bear in mind that the rotation is carried out in memory so you need to write back the amended data into the bitmap object.

e.g.
System.IO.Stream imgStream = new System.IO.MemoryStream();
myBmp.Save(imgStream, destFormat);

post.mode = signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralXML Pin
Gary Kirkham20-Jan-04 8:16
Gary Kirkham20-Jan-04 8:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.