Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PdDirectStop()
Leave direct mode
Synopsis:
PhDrawContext_t *PdDirectStop(
PdDirectContext_t *DirectContext );
Arguments:
- DirectContext
- A pointer to the PdDirectContext_t structure for a direct context, as returned by PdCreateDirectContext().
Library:
ph
Description:
This function takes the application out of direct mode, but doesn't destroy the direct-mode context.
![]() |
This call blocks until the operation is complete. |
Returns:
The default draw context (draw through Photon).
Examples:
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PdCreateDirectContext(), PdDirectStart(), PdReleaseDirectContext()
"Direct mode" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
