Hello there,
I have been playing around with the graphics engine and I have encountered the following problem:
I tried to draw an image rotated by using the maDrawImageRegion() function. While in the emulator, everything worked fine, but when test on my mobile phone (HTC HD) the rotated picture was not drawn correctly. As a matter of fact, the rotated picture was converted to a bounch of lines...
The code that I used is as follows:
MARect l_rect;
l_rect.left = 0;
l_rect.top = 0;
MAExtent l_imgSize1 = maGetImageSize(image);
l_rect.width = EXTENT_X(l_imgSize1);
l_rect.height =EXTENT_Y(l_imgSize1);
MAPoint2d p;
p.x= 0;
p.y=0;
maDrawImageRegion(image,&l_rect,&p,TRANS_NONE);
MAPoint2d p2;
p2.x= 50;
p2.y=0;
maDrawImageRegion(image,&l_rect,&p2,TRANS_ROT90);
I am quite new at this so I hope I am not doing something wrong...
Could be this depending on the resource I use(transparent .png)?
I can provide any additional information if needed.
