Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > Canvas Control >

Canvas_BitmapSet

Previous pageReturn to chapter overviewNext page

 

Description

 

Set raw pixel data to canvas.

 

Syntax

 

Canvas_BitmapSet(pixelBuffer, width, height)

 

Returns

 

None.

 

Parameters

 

Name

Type

Optional

Meaning

pixelBuffer

String

No

String full of BGR 4 byte aligned data

Width

Variable

No

Long integer variable passed by reference to obtain bitmap width

Height

Variable

No

Long integer variable passed by reference to obtain bitmap height

 

Remarks

 

Restrictions

 

See also

 

Canvas_BitmapGet

 

Examples