LOADIMAGE, LOADIMAGE_W (W*32)

Graphics Functions: Read an image from a Windows bitmap file and display it at a specified location.

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.

Compatibility

STANDARD GRAPHICS QUICKWIN GRAPHICS LIB

関連情報


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。