Community Forum

Image-Overlay Scale

Forum Overview >> Scripting

Created02.08.2010 11:27

Peter K. (Unknown) 02.08.2010 11:31
How to set the right scale to a overlay (Overlay:new()) that the image won't be scaled down and is dispayed with its real size.

Friedrich L. (Unknown) 20.10.2010 21:03
self.panel = Overlay:new("CourseCopyPanel", panelFile, posX, posY, width, height)
If your Image is scaled 512x256 then get the variables this values:
width = 0.512;
height = 0.256;

Note: Log in to post. Create a new account here.