Difference between revisions of "GetBitmapAreaColors"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetBitmapAreaColors(xs, ys, xe, ye: Integer): T2DIntArray; </source> ==Availability== SCAR Divi 3.00 > Current ==Desc...")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.00 > Current
+
SCAR Divi 3.00 > 3.34
  
 
==Description==
 
==Description==
Line 21: Line 21:
 
</source>
 
</source>
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:Client Functions]]
 
[[Category:Color Functions]]
 

Latest revision as of 11:10, 25 July 2012

Definition

function GetBitmapAreaColors(xs, ys, xe, ye: Integer): T2DIntArray;

Availability

SCAR Divi 3.00 > 3.34

Description

Returns a T2DIntArray filled with all of the colors in the area specified by the upper-left coordinate (xs, ys) and the lower-right coordinate (xe, ye) of the currently selected client window. The resulting array is specified as Array[x][y].

Example

var
  iaa: T2DIntArray;

begin
  iaa := GetBitmapAreaColors(0, 0, 40, 30);
  WriteLn(iaa[38][20]);
end.