08-01-2007 05:26 AM
08-01-2007 11:18 AM
08-02-2007 02:50 AM
Hi,
GetBitmapFromFile ("Sans titre.bmp", &ID);
CanvasDrawBitmap (mainpanel, MAINPANEL_CANVAS, ID, MakeRect (10, 10, 100, 100), MakeRect (10, 10, 100, 100));
Have you noticed that the first rect is the ROI of the image you want to display, and the second rect the position in which you want to display the image in the ROI?
So if you "cut " the image you will have a resized image
Let me know if you have questions
kamal
NIF