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

Draws an image saved in memory to the frame resizing it to the specified size. 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 
VMINT resized_width 
[IN] Resized width 
VMINT resized_height 
[IN] Resized height 
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 for animated images only, set to "0" for any 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.