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

glGetPhotonTranslationQNX()

Get the current translation for a QNXGL buffer

Synopsis:

int glGetPhotonTranslationQNX( qnxgl_bufs_t *  bufs,
                               PhPoint_t *  p )

Arguments:

bufs
A pointer to the qnxgl_bufs_t QNXGL buffers to query.
p
A pointer to a PhPoint_t in which the function can store the current translation.

Library:

GL

Description:

This function gets the translation Photon is using for a GL buffer. A translation is the number of x and y offset pixels applied draw commands, and is set by PgSetTranslation*().

Returns:

0 on success, -1 on error

Classification:

Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

glSetPhotonTranslationQNX(), PgSetTranslation*(), qnxgl_buffers_create()

"Translating coordinates" and "OpenGL" sections of the Raw Drawing and Animation chapter in the Photon Programmer's Guide


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