Generic message reporting for eHVD output in raster backends. More...
Functions | |
HqnResult | hvd_output_start_message (const RasterDescription *rd, const HVD_page_output *page, void *data) |
Write a message to the progress channel when starting compositing and outputting an eHVD separation. More... | |
Generic message reporting for eHVD output in raster backends.
HqnResult hvd_output_start_message | ( | const RasterDescription * | rd, |
const HVD_page_output * | page, | ||
void * | data | ||
) |
Write a message to the progress channel when starting compositing and outputting an eHVD separation.
This is a callback function for use as hvd_output_page_params::start_message_fn.
[in] | rd | An unpacked raster description for the page to be output. |
[in] | page | A structure containing the parameters and callback functions for compositing and outputting an eHVD separation. |
[in] | data | An opaque data pointer initialised from hvd_output_page_params::start_message_data. |
HQN_RESULT_SUCCESS(0) | The message was output successfully. |
For this function, the hvd_output_page_params::start_message_data field should be set to a zero-terminated string, used as a prefix for the page, tile, and separation information. For example hvdrast.h uses "Creating RAW file from retained rasters for " as its prefix. This function fills in the page, tile, and separation information and outputs the full message to the MON_CHANNEL_PROGRESS monitor channel.