Syntax
VM_RESULT vm_graphic_draw_resized_image_file(
    vm_graphic_frame_t* frame, 
    VMINT x, 
    VMINT y, 
    VMINT resized_width, 
    VMINT resized_height, 
    VMWSTR file_name, 
    VMINT frame_index
);
ContentsIndex
PreviousUpNext
vm_graphic_draw_resized_image_file
Syntax
VM_RESULT vm_graphic_draw_resized_image_file(
    vm_graphic_frame_t* frame, 
    VMINT x, 
    VMINT y, 
    VMINT resized_width, 
    VMINT resized_height, 
    VMWSTR file_name, 
    VMINT frame_index
);
Description

Draws an image file 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 
VMWSTR file_name 
[IN] File name 
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.