Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)