Set Row Coordinates Scaling
\i C E R word::mult word::div
Parameter |
Type |
Range |
Description |
mult |
word |
1 ... 4096 |
multiplier for vertical positions |
div |
word |
1 ... 4096 |
divisor for vertical positions |
Scales row coordinates (vertical positions) by a factor according to mult and div.
Note
- Rounding errors may occur due to non-integer factors.
- This scaling is valid for all screens and viewports.
- This function can be used to migrate existing applications to another iLCD with a different display resolution.
- The display size may be reported as unscaled, i.e. as if both mult and div were 1 (refer to Get Display Size).
- The scan line commands are disabled as long as any coordinates scale factor is other than 1 (see Write Scan Line and Read Scan Line).
- The parameter radius of the command Draw Circle is scaled with the column coordinates scale factor (see Set Column Coordinates Scaling).
- The default value for mult and div is 1. It will be automatically set to default on startup and by the commands Reset All or Reboot Panel Controller.
This command scales subsequent vertical positions by a factor of 1.5 (mult/div = 3/2).
See also:
Copyright © demmel products gmbh. All rights reserved.