![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Get the current translation for a QNXGL buffer
int glGetPhotonTranslationQNX( qnxgl_bufs_t *  bufs,
                               PhPoint_t *  p )
GL
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*().
0 on success, -1 on error
Neutrino
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
glSetPhotonTranslationQNX(), PgSetTranslation*(), qnxgl_buffers_create()
"Translating coordinates" and "OpenGL" sections of the Raw Drawing and Animation chapter in the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |