Set the translation for an offscreen context
int PdSetOffscreenTranslation(
PdOffscreenContext_t *osc,
PhPoint_t *trans );
ph
This function sets the translation for the offscreen context pointed to by osc to the value specified by the PhPoint_t 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. |
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PdCreateOffscreenContext(), PdDupOffscreenContext(), PdGetOffscreenContextPtr(), PdOffscreenContext_t, PdSetTargetDevice(), PgContextBlit(), PgSwapDisplay(), PhDCCreate(), PhDCRelease()
"Video memory offscreen" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide