Harlequin RIP SDK

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...
 

Detailed Description

Page buffer device functions.

Function Documentation

◆ SwLePgbDebugChecksumRasters()

void SwLePgbDebugChecksumRasters ( HqBool  print)

Set a flag determining if the pagebuffer device should calculate and print checksums for rasters.

Parameters
printTRUE 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.

◆ SwLePgbSetCallback()

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.

Parameters
paramnameThe parameter name to monitor.
paramtypeThe 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.
pfnPGBCallbackPointer 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.
Return values
FALSEIf the callback could not be set (either the name or type of the PGB param is incorrect).
TRUEIf the callback was set.