scale_x
  
  
scale_y
Scale factors for resizing a panel and its elements.
		Range:
-10.. +10 (default: 1.0)
		Type:
		var
		Remarks:
		
  
          - Scale factors don't affect truetype fonts. 
 
          - 7.22 
            
          Negative scale factors flip the panel texture. 
 
        Example 
          
        (lite-C):
		
PANEL* splashscreen = { bmap = "splash.pcx"; } // creates a bmap splash_pcx
function intro()
{
  splashscreen.scale_x = 10;
  set(splashscreen,SHOW);
  while(splashscreen.scale_x > 1) 
  {
     splashscreen.scale_x -= time_step; // shrink the panel horizontally
     wait(1);
  }
  reset(splashscreen,SHOW);
}
See also:
		
PANEL, layer, pos_x,
pos_y, angle
    ► latest
    version online