Navigation:  ThinBASIC Modules > UI (User Interface) > Additional Controls and Functions > Canvas Control >

Canvas_BitmapSet_ByPtr

Previous pageReturn to chapter overviewNext page

 

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

Long integer variable passed by reference to obtain bitmap width

Height

Number

No

Long integer variable passed by reference to obtain bitmap height

 

Remarks

 

Restrictions

 

See also

 

Canvas_BitmapGet

 

Examples