Difference between revisions of "CreateMirroredBitmap"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function CreateMirroredBitmap(bitmap: Integer): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== M...")
 
 
(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">
function CreateMirroredBitmap(bitmap: Integer): Integer;
+
function CreateMirroredBitmap(const Bmp: Integer): Integer;
 
</source>
 
</source>
  
 
==Availability==
 
==Availability==
SCAR Divi 3.00 > Current
+
SCAR Divi 3.00 > 3.34
  
 
==Description==
 
==Description==
Mirrors a bitmap associated with the index '''bitmap''' in the bitmap resource manager and returns the index associated with the new bitmap.
+
Mirrors a bitmap associated with the index '''Bmp''' in the bitmap resource manager and returns the index associated with the new bitmap.
  
 
==Example==
 
==Example==
 
<source lang="scar">
 
<source lang="scar">
 
var
 
var
   bmp: Integer;
+
   Bmp: Integer;
  
 
begin
 
begin
   bmp := BitmapFromString(54, 37, 'beNp78uXpq69gtD6GwaLh5' +
+
   Bmp := BitmapFromString(54, 37, 'beNp78uXpq69gtD6GwaLh5' +
 
     'FcYF6sIMVLUR5dvvQWjlaEMpuW738K4qCK7Ww0YICB+GooUmDEHK' +
 
     'FcYF6sIMVLUR5dvvQWjlaEMpuW738K4qCK7Ww0YICB+GooUmDEHK' +
 
     'mtQfQZJO9UR0C5MgOQMiFPnxIOdgexCBgbD1q1QX6D5keouxBGGi' +
 
     'mtQfQZJO9UR0C5MgOQMiFPnxIOdgexCBgbD1q1QX6D5keouxBGGi' +
Line 33: Line 33:
 
     'OVrdgIRfjVko3PLZ9559BkPAjoPvwJao3uPKUVfv/8GIsrNwYXuP' +
 
     'OVrdgIRfjVko3PLZ9559BkPAjoPvwJao3uPKUVfv/8GIsrNwYXuP' +
 
     '/lCIfr6/c/dew9Xr9tNuVFYEAAPpmvI');
 
     '/lCIfr6/c/dew9Xr9tNuVFYEAAPpmvI');
   bmp := CreateMirroredBitmap(bmp);
+
   Bmp := CreateMirroredBitmap(Bmp);
   DebugBitmap(bmp);
+
   DebugBitmap(Bmp);
 
end.
 
end.
 
</source>
 
</source>
Line 41: Line 41:
 
*[[RotateBitmap]]
 
*[[RotateBitmap]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:Bitmap Functions]]
 

Latest revision as of 02:36, 4 November 2012

Definition

function CreateMirroredBitmap(const Bmp: Integer): Integer;

Availability

SCAR Divi 3.00 > 3.34

Description

Mirrors a bitmap associated with the index Bmp in the bitmap resource manager and returns the index associated with the new bitmap.

Example

var
  Bmp: Integer;

begin
  Bmp := BitmapFromString(54, 37, 'beNp78uXpq69gtD6GwaLh5' +
    'FcYF6sIMVLUR5dvvQWjlaEMpuW738K4qCK7Ww0YICB+GooUmDEHK' +
    'mtQfQZJO9UR0C5MgOQMiFPnxIOdgexCBgbD1q1QX6D5keouxBGGi' +
    'AAEg/CV6GEI0zUtnCF0zkC5EBK5mIqRdZ0pNxwgF4KjEjWNYZPC4' +
    'hG6uRA1ojFiOTTcFCJDywCkor9ohRhwg0HiwsEfhqNoeKP/gx6Mh' +
    'Fj49OUXEA1yF96682Dh8q2D2ZFA5w1yF46mQ7qlw6m769YdXz2Y0' +
    '2HDuiggWnts9aAN7brVUdselQPJ1UdJcOTxM7folg5rlkctvZm2+' +
    'VEJkLH6ELGOXL9xO93SYeWSqLlX4vtOBq+5mwtkrzpIlCNXrdlIt' +
    '3RYOj9m1qWYriMB7Xt9F15OAHJX7F9DUNfqNRuv3H5LH1Q8J3bCk' +
    'aCG9b4N60Bo+okIoAhBXWAXvqMEQdIhMSoLpiX27fZvXesLRNOPh' +
    'AC5y/asI6hrS3f51TvvKEGQdLh4xTaCKnMmpfTvCGxf7Tt1fwiQv' +
    'Wz3BmLMvz0j98iC3mt331OClqzcDkQElWX3pfdtDpq8OwzIWLZrE' +
    '5GGf1xbeaY19vq9D3RAGd1ZE7aHAcmlO7YQr+vL0tjDqRY3738gG' +
    '335+guIiFGZ2pELREt3bCXJ/FdT/Q+VeN168BEToXWcsaoBoi/ff' +
    't+5+3D56h24FMBRw9yJS3ZsJ6gMDR3Jszy3bMbth5+wIrjzcCmAo' +
    'OVrdgIRfjVko3PLZ9559BkPAjoPvwJao3uPKUVfv/8GIsrNwYXuP' +
    '/lCIfr6/c/dew9Xr9tNuVFYEAAPpmvI');
  Bmp := CreateMirroredBitmap(Bmp);
  DebugBitmap(Bmp);
end.

See Also