QPx_NewImporterForPict
QPx_NewImporterForPict(importerRef; importerRef):error | |||
---|---|---|---|
![]() |
importerRef | Longint | Reference to a new graphics importer |
![]() |
pictVar | Picture | 4D picture variable |
![]() |
error | Longint | Error result |
Create a graphics importer instance for the image data in a picture variable
The source picture is passed in the pictVar parameter.
A reference to the importer is returned in importerRef. This reference can be used with all QPix commands in this group to refer to the graphics importer instance and its associated data.
NOTE When done working with an importer instance, you must destroy it by calling QPx_FreeImporter (unless you have assigned the importer to a QPix area, in which case its destruction will be handled by the area).