Difference between revisions of "FastSetPixel"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> procedure FastSetPixel(bitmap: Integer; x, y: Integer; c : Integer); </source> ==Availability== SCAR Divi 3.00 > Current ==Des...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | procedure FastSetPixel( | + | procedure FastSetPixel(const Bmp, x, y, Color: Integer); |
</source> | </source> | ||
==Availability== | ==Availability== | ||
− | SCAR Divi 3.00 > | + | SCAR Divi 3.00 > 3.34 |
==Description== | ==Description== | ||
Line 34: | Line 34: | ||
*[[FastDrawClear]] | *[[FastDrawClear]] | ||
− | [[Category: | + | [[Category:Deprecated Functions]] |
− |
Latest revision as of 01:37, 4 November 2012
Definition
procedure FastSetPixel(const Bmp, x, y, Color: Integer);
Availability
SCAR Divi 3.00 > 3.34
Description
Sets the color given by c at the given coordinate (x, y) on the bitmap given by the index b.
Example
var b, c: Integer; begin b := BitmapFromString(1, 1, ''); FastSetPixel(b, 0, 0, 123456); c := FastGetPixel(b, 0, 0); WriteLn(c); end.
Output:
123456