Bitmap rotation
Philippe Ney <[email protected]>
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Micah,
In our app, we want to turn an image from 90 or 270 degres.
To achieve this we thought about displaying the bitmap in a canvas and
using the PG_GROP_ROTATEBITMAP parameter with something like :
pgWriteCmd (canvas,
PGCANVAS_GROP,
7,
PG_GROP_ROTATEBITMAP,
x_origin,
y_origin,
width,
height,
rotation_angle,
the_bitmap);
Is this the good way? Are the parameters right?
TIA,
-philippe
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en