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* screen_txt = { flags = SHOW; } 

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

See also:

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

  ► latest version online