QPxObs_GetImporterGraphicsMode

QPxObs_GetImporterGraphicsMode(importerRef; transferMode):error
importerRef Longint Reference to a graphics importer instance
transferMode Longint Transfer mode
error Longint Error result

Do not use this command in QPix v3 or later

This command is preserved in QPix v3 for backward compatibility reasons. The graphics importer transfer mode has no meaning in QPix v3 and later.


Returns the current transfer mode property of a graphics importer instance.

The graphics importer instance is specified by importerRef. If importerRef does not refer to an existing graphics importer instance, the qpx_paramErr error code is returned.

The value for the importer's current transfer mode is returned in transferMode. Possible values are:

qpx_SrcCopy 0 Source copy
qpx_DitherCopy 64 Dither copy

Note: For a detailed discussion of QuickDraw transfer modes, see Inside Macintosh - Imaging with QuickDraw.

Example

  `Get transfer mode
 
C_LONGINT($error)
C_LONGINT($transferMode)
 
C_LONGINT(gQPixImporter)
 
$error:=QPx_GetImporterGraphicsMode (gQPixImporter;$transferMode)
 
If ($error#qpx_noErr)
   `Handle the error
End if

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:47:03