CreateBitmap

From SCAR Divi Manual
Revision as of 23:24, 4 April 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function CreateBitmap(const Width, Height, Color: Integer): Integer; </source> ==Availability== SCAR Divi 3.33 > Current ==Des...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function CreateBitmap(const Width, Height, Color: Integer): Integer;

Availability

SCAR Divi 3.33 > Current

Description

Creates a bitmap with the dimensions given by Width and Height. After the bitmap has been created, it's filled up completely with a color given by Color.

Example

var
  Bmp: Integer;

begin
  Bmp := CreateBitmap(500, 500, clMaroon);
  DebugBitmap(Bmp);
end.