[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PfDetach(), PfDetachCx()

Detach from font server

Synopsis:

#include <photon/Pf.h>
void PfDetach( struct _Pf_ctrl *pf );

#include <font_api.h>
void PfDetachCx( struct _Pf_ctrl * pf  );

Arguments:

pf
A control structure. For PfDetach(), this structure was returned by a previous call to PfAttach(). For PfDetachCx(), this structure was returned by a previous call to PfAttachCx() or PfAttachDllCx().

Library:

PfDetach()
ph
PfDetachCx()
font

Description:

These functions detach the task from the font server and release all the memory that the control structure uses, including any shared memory and local metrics code.

Examples:

PfDetachCx(): See the examples for PfConvertFontIDCx() and PfRenderCx().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PfAttach(), PfAttachCx(), PfAttachDllCx(), PfExtentCx(), PfExtentTextCharPositionsCx(), PfGetOutlineCx(), PfRenderCx()

Fonts chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]