Canvas_BitmapSet_ByPtr

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Canvas Control > Canvas Control Commands >

Canvas_BitmapSet_ByPtr

 

Description

 

Set raw pixel data to canvas passing a pointer to a memory location.

 

Syntax

 

Canvas_BitmapSet_ByPtr(pBuffer, width, height)

 

Returns

 

None.

 

Parameters

 

Name

Type

Optional

Meaning

pBuffer

Numeri

No

pointer to a memory area full of BGR 4 byte aligned data

Width

Number

No

width of the passed bitmap

Height

Number

No

height of the passed bitmap

 

Remarks

 

Restrictions

 

See also

 

Canvas_BitmapGet

Canvas_BitmapSet_ByRef

Canvas_BitmapSet

 

Examples