Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfallocdetailscx.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfallocdetailscx.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfallocdetailscx.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfallocdetailscx.html on line 8
Retrieve render buffer details
#include <font_api.h>
int PfAllocDetailsCx( struct _Pf_ctrl * context,
char const ** name,
long * size );
- context
- A pointer to the font context to use, returned by PfAttachCx() or PfAttachDllCx().
- name
- A pointer to a location where the function stores the path
and name of the shared memory, if context is not NULL.
- size
- A pointer to a long where the function stores
the size, in bytes, of the render buffer.
font
This function retrieves the shared memory path and size of the
render buffer associated with a font context. If the render buffer
was allocated from the heap, the function sets name to NULL.
- 0
- Success
- -1
- An error occurred (errno is
set).
- EFAULT
- Font context is NULL.
See the example for PfAttachDllCx().
Photon
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
PfAttachCx(),
PfAttachDllCx()
Fonts chapter
of the Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pf/pfallocdetailscx.html on line 131
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pf/pfallocdetailscx.html on line 131