Difference between revisions of "GetBitmapSize"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure GetBitmapSize(const Bmp: Integer; out Width, Height: Integer); </source> ==Availability== SCAR Divi 3.00 > Current =...")
 
 
(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 22: Line 22:
 
</source>
 
</source>
  
[[Category:Functions]]
+
==See Also==
[[Category:Bitmap Functions]]
+
*[[ResizeBitmap]]
 +
 
 +
[[Category:Deprecated Functions]]

Latest revision as of 02:38, 4 November 2012

Definition

procedure GetBitmapSize(const Bmp: Integer; out Width, Height: Integer);

Availability

SCAR Divi 3.00 > 3.34

Description

Returns the dimensions of a bitmap specified by Bmp in Width and Height.

Example

var
  Bmp, W, H: Integer;

begin
  Bmp := CreateBitmap(500, 500, 0);
  GetBitmapSize(Bmp, W, H);
  WriteLn(IntToStr(W) + 'x' + IntToStr(H));
end.

See Also