[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.2.1.1 DspyImageQuery

This function is called for two reasons:

  1. 3Delight needs to know the default resolution of the display driver. This may happen if the user did not call Format;
  2. 3Delight needs to know whether the display driver overwrites or not the specified file (not used at the moment).

Parameters are:

type
Can take two values: PkOverwriteQuery and PkSizeQuery. For each query, a different data structure needs to be filled. The structures are declared in `$DELIGHT/include/ndspy.h'.
size
Maximum size of the structure to fill;
data
A pointer to the data to fill. Copy the appropriate structure here.

See section 8.2.2 A Complete Example.



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.