Syntax
void vm_graphic_draw_gradient_rectangle(
    vm_graphic_frame_t* frame, 
    VMINT x0, 
    VMINT y0, 
    VMINT x1, 
    VMINT y1, 
    vm_graphic_color_argb_t color_start, 
    vm_graphic_color_argb_t color_end, 
    VM_GRAPHIC_GRADIENT_STYLE gradient
);
ContentsIndex
PreviousUpNext
vm_graphic_draw_gradient_rectangle
Syntax
void vm_graphic_draw_gradient_rectangle(
    vm_graphic_frame_t* frame, 
    VMINT x0, 
    VMINT y0, 
    VMINT x1, 
    VMINT y1, 
    vm_graphic_color_argb_t color_start, 
    vm_graphic_color_argb_t color_end, 
    VM_GRAPHIC_GRADIENT_STYLE gradient
);
Description

Draws a gradient rectangle at the given point within the frame.

Parameters
Parameters 
Description 
vm_graphic_frame_t* frame 
[IN] Frame pointer. 
VMINT x0 
[IN] X offset of top left position. 
VMINT y0 
[IN] Y offset of top left position. 
VMINT x1 
[IN] X offset of bottom right position. 
VMINT y1 
[IN] Y offset of bottom right position. 
vm_graphic_color_argb_t color_start 
[IN] Start color of gradient color. 
vm_graphic_color_argb_t color_end 
[IN] End color of gradient color. 
VM_GRAPHIC_GRADIENT_STYLE gradient 
[IN] Gradient style. 
Returns

void

File

vmgraphic.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.