Visible to Intel only — GUID: GUID-04D3AF62-F14B-4230-86AA-FACAF7B2985F
Visible to Intel only — GUID: GUID-04D3AF62-F14B-4230-86AA-FACAF7B2985F
LOADIMAGE, LOADIMAGE_W
Graphics Functions: Read an image from a Windows bitmap file and display it at a specified location. These routines are only available for Windows.
Module
USE IFQWIN
result = LOADIMAGE (filename,xcoord,ycoord)
result = LOADIMAGE_W (filename,wxcoord,wycoord)
filename |
(Input) Character*(*). Path of the bitmap file. |
xcoord, ycoord |
(Input) INTEGER(4). Viewport coordinates for upper-left corner of image display. |
wxcoord, wycoord |
(Input) REAL(8). Window coordinates for upper-left corner of image display. |
Results
The result type is INTEGER(4). The result is zero if successful; otherwise, a negative value.
The image is displayed with the colors in the bitmap file. If the color palette in the bitmap file is different from the current system palette, the current palette is discarded and the bitmap's palette is loaded.
LOADIMAGE specifies the screen placement of the image in viewport coordinates. LOADIMAGE_W specifies the screen placement of the image in window coordinates.