scale_x

scale_y

Scale factors for resizing a text.

Range:

0.1 .. unlimited (default: 1)

Type:

var

Remarks:

Scale factors don't affect truetype fonts.

Example:

TEXT* sscreen = { strings=1; } 

function intro()
{
  sscreen.scale_x=10;
  sscreen.visible=on;
  while(sscreen.scale_x>1)
  {
     sscreen.scale_x-=time_step;
     wait(1);
  }
}
        

See also:

text, layer, pos_x, pos_y, size_y, offset_y, strings, font, char_x, char_y, string, alpha, flags

  ► latest version online