Syntax
VM_RESULT vm_graphic_draw_image_memory(
    vm_graphic_frame_t* frame, 
    VMINT x, 
    VMINT y, 
    VMUINT8* image_data, 
    VMINT image_length, 
    VMINT frame_index
);
ContentsIndex
PreviousUpNext
vm_graphic_draw_image_memory
Syntax
VM_RESULT vm_graphic_draw_image_memory(
    vm_graphic_frame_t* frame, 
    VMINT x, 
    VMINT y, 
    VMUINT8* image_data, 
    VMINT image_length, 
    VMINT frame_index
);
Description

Draws an image saved in memory to the frame. The image format can be ABM / AB2 / JPEG / GIF / PNG / BMP

Parameters
Parameters 
Description 
vm_graphic_frame_t* frame 
[IN] Frame pointer 
VMINT x 
[IN] X offset of start position 
VMINT y 
[IN] Y offset of start position 
VMUINT8* image_data 
[IN] Data pointer 
VMINT image_length 
[IN] Length of image data 
VMINT frame_index 
[IN] Frame index of the image, this is only meaningful on animated image, please fill "0" for other image types. 
Returns
File

vmgraphic_image.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.