Set Column Coordinates Scaling
\i C E C word::mult word::div
Parameter |
Type |
Range |
Description |
mult |
word |
1 ... 4096 |
multiplier factor for horizontal positions |
div |
word |
1 ... 4096 |
divisor factor for horizontal positions |
Scales column coordinates (horizontal 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 parameter radius of the command Draw Circle is scaled with this factor.
- The display size is reported 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 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 horizontal positions by a factor of 0.5 (mult/div = ½).
See also:
Copyright © demmel products gmbh. All rights reserved.