Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » How to rotate an image
Re: How to rotate an image [message #21772 is a reply to message #21745] |
Thu, 04 June 2009 18:08 |
|
forlano
Messages: 1185 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
mr_ped wrote on Wed, 03 June 2009 14:55 | In Draw/ImageOp.h there are:
Image RotateClockwise(const Image& img);
Image RotateAntiClockwise(const Image& img);
Image MirrorHorz(const Image& img);
Image MirrorVert(const Image& img);
Image Rotate(const Image& m, int angle);
|
Thanks. To use them I moved on ImageDraw. Painter seems to complicated because I need to include the rotated image and its original in a qtf document.
Please let me ask one more question:
In
ImageDraw iw(1200, 1000);
if iw is printed on the screen the numbers are pixel?
If I create a qtf object with
QtfRichObject pict( CreateImageObject(iw, 1200, 1000) ) ;
String qtf;
qtf << "[A6 This is some drawing in QTF: " << pict << "&";
PromptOK(qtf);
I see a smaller size. How the image is scaled in the qtf units?
Thanks a lot,
Luigi
[Updated on: Thu, 04 June 2009 18:36] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed May 08 05:14:23 CEST 2024
Total time taken to generate the page: 0.02440 seconds
|