[Previous] [Contents] [Index] [Next]

Caution: 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 [option[,option...]]
            ... &

Runs on:

x86, PPC, MIPS, ARM, SH4




The devg-rotate90.so transform module is used by io-graphics to switch the display between portrait and landscape views.

devg-rotate90.so is loaded by io-graphics using 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 ...

Transform modules can be cascaded to flip the display, i.e. rotate 180 degrees:

io-graphics -d "driver_name" hook=devg-rotate90.so:devg-rotate90.so ...

See also:

io-graphics, devg-rotate270.so

[Previous] [Contents] [Index] [Next]