8.2.1 Required Entry Points
A display driver must implement four mandatory entry points:
- PtDspyError DspyImageQuery ( PtDspyImageHandle image, PtDspyQueryType type, size_t size, void *data )
-
Queries the display driver about format informations.
- PtDspyError DspyImageOpen ( PtDspyImageHandle * image, const char *drivername, const char *filename, int width, int height, int paramcount, const UserParameter *parameters, int formatcount, PtDspyDevFormat *format, PtFlagStuff *flagsstuff)
-
Opens a display driver.
- PtDspyError DspyImageData ( PtDspyImageHandle image, int xmin, int xmax_plus_one, int ymin, int ymax_plus_one, int entrysize, const unsigned char *data )
-
Sends data to display driver.
- PtDspyError DspyImageClose ( PtDspyImageHandle image )
-
Close the display driver.
An optional entry point is also defined:
- PtDspyError DspyImageDelayClose ( PtDspyImageHandle image )
-
Close the display driver in a separate process.
Every function is detailed in the following sections.
This document was generated
by Aghiles Kheffache on July, 31 2003
using texi2html
3Delight 1.0.0. Copyright 2000-2003 The 3Delight Team.
All Rights Reserved.