![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Transformation module that rotates a display 90 degrees counterclockwise
io-graphics -d driver_name hook=devg-rotate90.so ... &
x86, PPC, MIPS, ARM, SH4
None.
The devg-rotate90.so transform module is used by io-graphics to switch the display between portrait and landscape views.
To load the devg-rotate90.so module into io-graphics, use the hook option. For more information on options, see io-graphics.
You need to modify the X and Y resolution passed to io-graphics using the xres and yres options when you use the transform module. For example, to rotate a 640x480 16-bit color display 90 degrees counterclockwise:
io-graphics -d driver_name hook=devg-rotate90.so xres=480,yres=640,bitpp=16 ...
You can cascade the transform modules to flip the display, i.e. rotate 180 degrees:
io-graphics -d driver_name hook=devg-rotate90.so:devg-rotate90.so ...
devg-rotate270.so, io-graphics
![]() |
![]() |
![]() |
![]() |