Link to home
Start Free TrialLog in
Avatar of Lindholm_filip
Lindholm_filip

asked on

Draw the rotation of an jpeg

I want to draw and rotate a jpegimage at the same time!

I've seen a program that draws the image from left to right, how can i do that?

What i want is to draw the image at the same time that it is beeing rotated, instead of rotate first then paint it, Can this be done?
Avatar of Ivanov_G
Ivanov_G
Flag of Bulgaria image

In order to display TJpegImage, you will have to assign it to TBitmap. If you want to rotate a TBitmap, there are a lot of sources on the web...

but I don't get what you mean by "draw and rotate a jpegimage at the same time"...
Avatar of Ferruccio Accalai
--> I've seen a program that draws the image from left to right, how can i do that
I guess you mean to have some drawing effects...
If so you should work with opengl....
Take a look here for a complete OPENGL tutorial and source code http://www.sulaco.co.za/
ASKER CERTIFIED SOLUTION
Avatar of Evarest
Evarest

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Lindholm_filip
Lindholm_filip

ASKER

Thank you all for replyes!

The graphics32 looks real good.

Well... Sometimes it's better not to go into creating a whole new component when it's out there allready :-) That's the whole concept of OO programming...

Cheers!
Evarest