Page buffer device functions. More...
#include "skinkit.h"
Functions | |
HqBool | SwLePgbSetCallback (const char *paramname, int32 paramtype, SwLeParamCallback *pfnPGBCallback) |
Sets a callback functions for the named pagebuffer device parameter. More... | |
void | SwLePgbDebugChecksumRasters (HqBool print) |
Set a flag determining if the pagebuffer device should calculate and print checksums for rasters. More... | |
Page buffer device functions.
void SwLePgbDebugChecksumRasters | ( | HqBool | ) |
Set a flag determining if the pagebuffer device should calculate and print checksums for rasters.
TRUE if checksums should be printed, FALSE if they should not be printed. |
This is a debug function, and will not have effect in release versions of the RIP.
HqBool SwLePgbSetCallback | ( | const char * | paramname, |
int32 | paramtype, | ||
SwLeParamCallback * | pfnPGBCallback | ||
) |
Sets a callback functions for the named pagebuffer device parameter.
If a callback function is registered correctly, it will be called whenever the value of the pagebuffer device parameter is changed. There is exactly one callback for each parameter; setting the callback will override the previous callback definition. To remove a callback hook, call this function with a NULL
function pointer.
paramname | The parameter name to monitor. |
paramtype | The type of the parameter name to monitor. The callback functions use a generic pointer to pass the changed parameter value. Passing the expected type in with the hook function lets the skinkit check that the hook function will be passed the type it expects. |
pfnPGBCallback | Pointer to a function though which the RIP informs the skin of pagebuffer type changes. The skin may call SwLeSetRasterAPI() in this routine, to route callbacks to different backends. |
FALSE | If the callback could not be set (either the name or type of the PGB param is incorrect). |
TRUE | If the callback was set. |