coredump
11 years agoVisitor
roBitmap Scale
I have a HD image that I want to scale to fit in a given region, is there a way to do this ? Currently, it is cropped to the region.
img = CreateObject("roBitmap", "pkg:/images/logo.png")
' Scale to 254x82
logoRegion=CreateObject("roRegion", img, 61, 34, 254, 82)
screen.DrawObject(61, 34, logoRegion)