|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Set the translation for an offscreen context
int PdSetOffscreenTranslation( PdOffscreenContext_t *osc, PhPoint_t *trans );
- A pointer to the offscreen context, as returned by PdCreateOffscreenContext(), whose translation you want to set.
- A pointer to a PhPoint_t that defines the translation.
This function sets the translation for the offscreen context pointed to by osc to the value specified by the structure pointed to by trans. This translation is applied to the points used in graphical operations in the offscreen context.
|The translation stays with the offscreen context, not the application. If another application accesses the offscreen context, the same translation applies.|
- An error occurred.
“Video memory offscreen” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide