Difference between revisions of "DebugBitmap"
From SCAR Divi Manual
(→Availability) |
|||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | procedure DebugBitmap(const | + | procedure DebugBitmap(const Bmp: TSCARBitmap); |
</source> | </source> | ||
==Availability== | ==Availability== | ||
SCAR Divi 3.25 > Current | SCAR Divi 3.25 > Current | ||
+ | |||
+ | * Before 3.35, the bitmap was passed as an integer index parameter. | ||
==Description== | ==Description== | ||
− | Shows the bitmap | + | Shows the bitmap '''Bmp''' in the debug window. If the bitmap is not assigned, the function will throw an error. |
==Example== | ==Example== | ||
<source lang="scar"> | <source lang="scar"> | ||
var | var | ||
− | + | Bmp: TSCARBitmap; | |
begin | begin | ||
− | + | Bmp := TSCARBitmap.Create('deNozY1BlePrqKxitj2GwaDj5FcbFKkKMFPXR5VtvwWhlKIN' + | |
− | ' | + | 'p+e63MC6qyO5WAwYIiJ+GIgVmzIHKGlSfQdJOdQS0CxMgOQPi1DnxYGcgu5CBwbB1K9QXaH6' + |
− | ' | + | 'kugtxhCEiAMEgfCV6GMJ0TQtnCJ0zUC6ERC6mYmRdZ8oNB8iF4KhETWPYpLB4hG4uRI1ojFg' + |
− | ' | + | 'ODTeFyNAyAKnoL1ohBtxgkLhw8IfhKBre6P+gByMhFj59+QVEg9yFt+48WLh862B2JNB5g9y' + |
− | ' | + | 'Fo+mQbulw6u66dcdXD+Z02LAuCojWHls9aEO7bnXUtkflQHL1URIcefzMLbqlw5rlUUtvpm1' + |
− | + | '+VAJkrD5ErCPXb9xOt3RYuSRq7pX4vpPBa+7mAtmrDhLlyFVrNtItHZbOj5l1KabrSED7Xt+' + | |
− | ' | + | 'FlxOA3BX71xDUtXrNxiu339IHFc+JnXAkqGG9b8M6EJp+IgIoQlAX2IXvKEGQdEiMyoJpiX2' + |
− | + | '7/VvX+gLR9CMhQO6yPesI6trSXX71zjtKECQdLl6xjaDKnEkp/TsC21f7Tt0fAmQv272BGPN' + | |
− | ' | + | 'vz8g9sqD32t33lKAlK7cDEUFl2X3pfZuDJu8OAzKW7dpEpOEf11aeaY29fu8DHVBGd9aE7WF' + |
− | + | 'AcumOLcTr+rI09nCqxc37H8hGX77+AiJiVKZ25ALR0h1bSTL/1VT/QyVetx58xERoHWesaoD' + | |
− | ' | + | 'oy7ffd+4+XL56By4FcNQwd+KSHdsJKkNDR/Iszy2bcfvhJ6wI7jxcCiBo+ZqdQIRfDdno3PK' + |
− | ' | + | 'Zdx59xoOAzsOvgNbo3mNK0dfvv4GIcnNwoftPvlCIvn7/c/few9XrdlNuFFYEAA2abCM='); |
− | ' | + | DebugBitmap(Bmp); |
− | |||
− | ' | ||
− | |||
− | ' | ||
− | DebugBitmap( | ||
end. | end. | ||
</source> | </source> |
Latest revision as of 01:57, 4 November 2012
Definition
procedure DebugBitmap(const Bmp: TSCARBitmap);
Availability
SCAR Divi 3.25 > Current
- Before 3.35, the bitmap was passed as an integer index parameter.
Description
Shows the bitmap Bmp in the debug window. If the bitmap is not assigned, the function will throw an error.
Example
var Bmp: TSCARBitmap; begin Bmp := TSCARBitmap.Create('deNozY1BlePrqKxitj2GwaDj5FcbFKkKMFPXR5VtvwWhlKIN' + 'p+e63MC6qyO5WAwYIiJ+GIgVmzIHKGlSfQdJOdQS0CxMgOQPi1DnxYGcgu5CBwbB1K9QXaH6' + 'kugtxhCEiAMEgfCV6GMJ0TQtnCJ0zUC6ERC6mYmRdZ8oNB8iF4KhETWPYpLB4hG4uRI1ojFg' + 'ODTeFyNAyAKnoL1ohBtxgkLhw8IfhKBre6P+gByMhFj59+QVEg9yFt+48WLh862B2JNB5g9y' + 'Fo+mQbulw6u66dcdXD+Z02LAuCojWHls9aEO7bnXUtkflQHL1URIcefzMLbqlw5rlUUtvpm1' + '+VAJkrD5ErCPXb9xOt3RYuSRq7pX4vpPBa+7mAtmrDhLlyFVrNtItHZbOj5l1KabrSED7Xt+' + 'FlxOA3BX71xDUtXrNxiu339IHFc+JnXAkqGG9b8M6EJp+IgIoQlAX2IXvKEGQdEiMyoJpiX2' + '7/VvX+gLR9CMhQO6yPesI6trSXX71zjtKECQdLl6xjaDKnEkp/TsC21f7Tt0fAmQv272BGPN' + 'vz8g9sqD32t33lKAlK7cDEUFl2X3pfZuDJu8OAzKW7dpEpOEf11aeaY29fu8DHVBGd9aE7WF' + 'AcumOLcTr+rI09nCqxc37H8hGX77+AiJiVKZ25ALR0h1bSTL/1VT/QyVetx58xERoHWesaoD' + 'oy7ffd+4+XL56By4FcNQwd+KSHdsJKkNDR/Iszy2bcfvhJ6wI7jxcCiBo+ZqdQIRfDdno3PK' + 'Zdx59xoOAzsOvgNbo3mNK0dfvv4GIcnNwoftPvlCIvn7/c/few9XrdlNuFFYEAA2abCM='); DebugBitmap(Bmp); end.