0348
Revision as of 03:28, 13 February 2016 by Spaceeinstein (talk | contribs) (Created page with "thumb|0348 in action {{OpCode | games = {{Icon|t}} | command = SET_<wbr>TEXT_<wbr>PROPORTIONAL | description = Sets the text to be proportional | s...")
- Description
- Sets the text to be proportional
- Syntax
- 0348: set_text_draw_proportional [int]
- Parameter
- [int]
- 0 = not proportional, 1 = proportional (default)
This opcode sets the text to be proportional, which means the space occupied by each character depends on the character. Text that is not proportional uses an equal amount of space for any characters. The lead image on this page shows text displayed in Vice City at the x position of 10.0 and y positions starting at 10.0 and separated by 50.0. The first line uses proportional text and the second line does not use it.
Keywords
set, draw, text, proportional