When rotating a bitmap/picture, the area of the pixmapshape behind the picture always shows. How do you get rid of that background (make it transparent)?
dim pm as pixmapshape dim pmm as pixmapshape pm = new pixmapshape(testpix) pmm = new pixmapshape(testpix.mask) pm.rotation = newangle * PI / 180 pmm.rotation = newangle * PI / 180 p.graphics.drawobject(pmm, centerx, centery) p.graphics.drawobject(pm, centerx, centery) if newangle = 360 then newangle = 0 else newangle = newangle + 1 end if
Is it possible? Should I not use PixMapShape? What tricks do you use to eliminate that “white” background?