Raster output backend API. More...
Data Structures | |
struct | sw_raster_api_20230105 |
A structure collecting the raster backend API functions. More... | |
Typedefs | |
typedef void * | RASTER_handle |
All the raster callback functions receive an opaque value of this type. The output backend implementation can use it to ensure any necessary state is available to the callback implementations. | |
typedef HqnResult | RASTER_result |
Type for return values from raster functions. More... | |
typedef RASTER_result() | SwLeRASTERBANDSIZE(void *pJobContext, RASTER_BANDSIZE *pBandSize) |
Type of a callback function which allows the skin to affect band size computations. More... | |
typedef RASTER_result() | SwLeRASTERREQUIREMENTS(void *pJobContext, RASTER_REQUIREMENTS *pRasterRequirements, RasterDescription *pRasterDescription) |
Type of a callback function which gives the skin the details of the raster that's about to be handed, and allows the skin to allocate memory to contain it. More... | |
typedef RASTER_result() | SwLeRASTERDESTINATION(void *pJobContext, RASTER_DESTINATION *pRasterDestination, int32 separationIndex) |
Type of a callback function which asks the skin to provide a memory address range into which to render. More... | |
typedef RASTER_result() | SwLeBLANKPAGECALLBACK(void *pJobContext, RASTER_handle *handlep, RASTER_BLANK *pBlank, RasterDescription *pRasterDescription) |
Type of a callback function used to indicate that a page is blank, and may be entirely omitted if desired. More... | |
typedef RASTER_result() | RASTER_START_EX(void *pJobContext, RasterDescription *pRasterDescription, RASTER_handle *handlep) |
Type of a function called once at the start of each output separation, giving preparatory information for handling the separation. More... | |
typedef RASTER_result() | RASTER_WRITE_DATA_EX(void *pJobContext, RASTER_handle handle, RasterDescription *pRasterDescription, void *data, int32 topline, int32 nlines, int32 bytesperline, int32 plane) |
Type of a function called multiple times per output separation, with each call containing a band of raster data for the page. More... | |
typedef RASTER_result() | RASTER_FINISH_EX(void *pJobContext, RASTER_handle *handlep, RasterDescription *pRasterDescription, RASTER_result result) |
Type of a function called once at the end of each output separation. More... | |
typedef RASTER_result() | RASTER_JOB_END_EX(void *pJobContext, RASTER_handle *handlep) |
Type of a function called once at the end of a job. More... | |
typedef struct sw_raster_api_20230105 | sw_raster_api_20230105 |
A structure collecting the raster backend API functions. | |
Enumerations | |
enum | RASTER_RESULT { RASTER_noErr = HQN_RESULT_SUCCESS , RASTER_fileOutputErr = -1 , RASTER_requestErr = -2 , RASTER_fileSeekErr = -3 , RASTER_compressionErr = -4 , RASTER_memoryErr = -5 , RASTER_otherErr = -6 , RASTER_notReady = 1 } |
Raster handler result codes. More... | |
Functions | |
void | SwLeSetRasterAPI (sw_raster_api_20230105 *api) |
Sets the API structure that the RIP will call back to present raster data to the skin. More... | |
Raster output backend API.
Copyright (C) 2023 Global Graphics Software Ltd. All rights reserved.
This example is provided on an "as is" basis and without warranty of any kind. Global Graphics Software Ltd. does not warrant or make any representations regarding the use or results of use of this example.