[Previous] [Contents] [Next]

process_slice()

process a slice of a page to be printed

Synopsis:

int process_slice( );

Description:

This function processes each slice, and is called repeatedly by prlib_main(). This function processes the Photon draw-stream commands and renders the image in the ram_buffer member of the _doc_ctrl structure. It also calls the my_... functions as required.

You shouldn't have to replace the default version of this function.

Returns:

0
There's another slice to process.
1
There are no more slices to process.

Classification:

Photon

Safety:
Interrupt handler Not applicable
Signal handler Not applicable
Thread Not applicable

[Previous] [Contents] [Next]