STATE_font_write_text_scaled

 

 


   *** Very useful
   Same as STATE_font_write_text
   only that here we can scale the text 
   To make a text animation (the text getting bigger or smaller) simply continue
   to call the function before (or after) each render each time with a different scale value
  
   Remarks:
  		1. Note that the non-scaled text usually looks a bit better.
  
  		2. Note that the size of the scaled text is dependent on the size of the window being rendered
  
   Example:
  		DWORD ariel14=STATE_font_create("Ariel", 14, FONT_CREATE_DEFAULT);
  		STATE_font_write_text_scaled(ariel14, "Test123", 10, 10, 2, 2, 255, 255, 255, 120, FONT_WRITE_DEFAULT, INT_MAX);
  

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com