[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.


Transform module to rotate a display 270 degrees counterclockwise


io-graphics -d "driver_name" hook=devg-rotate270.so [option[,option...]]
            ... &

Runs on:

x86, PPC, MIPS, ARM, SH4




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

devg-rotate270.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 270 degrees counterclockwise:

io-graphics -d "driver_name" hook=devg-rotate270.so,xres=640,yres=640,bitpp=16 ...

Note: A 270-degree counterclockwise turn is equivalent to a 90-degree clockwise turn.

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

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

See also:

io-graphics, devg-rotate90.so

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