This site is no longer active and is available for archival purposes only. Registration and login is disabled.

How to rotate a 2D Picture


How to rotate a 2D Picture

Postby myzalbnr » Sep 27, 2009 @ 8:43am

E2DSurface* pImg;
I want to draw the Image with 45°
how to do it ?
myzalbnr
pm Member
 
Posts: 2
Joined: Sep 18, 2009 @ 9:46am


Postby RapchikProgrammer » Sep 28, 2009 @ 4:18am

Use the BltFX method.. look in the reference doument for this function.. and the only thing to remember is that a full rotation is done at the value of '4096'.. its not in radians or degrees you can easily convert them to edgelib rotations tho.. as 360 degrees == 2*PI radians == 4096 in edgelib..
RapchikProgrammer
pm Member
 
Posts: 56
Joined: Oct 18, 2008 @ 7:08am


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

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 post attachments in this forum

cron