mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-05 00:45:14 -05:00
Small fix
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@268 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
b4d56fa979
commit
9a85b49a1c
@ -59,6 +59,22 @@ Error: Exception: You are accessing an invalid point, (-1,-1) at bitmap[0] at li
|
||||
|
||||
Further expanding the example:
|
||||
\begin{verbatim}
|
||||
program new;
|
||||
var
|
||||
bmp:integer;
|
||||
x, y:integer;
|
||||
begin
|
||||
bmp:=bitmapfromstring(200, 200, '');
|
||||
x := -1;
|
||||
y := -1;
|
||||
try
|
||||
fastsetpixel(bmp, x, y, clwhite);
|
||||
except
|
||||
writeln('We failed to do a setpixel with x = ' + inttostr(x) +
|
||||
', y = ' + inttostr(y));
|
||||
end;
|
||||
end.
|
||||
|
||||
\end{verbatim}
|
||||
|
||||
Results in:
|
||||
|
Loading…
Reference in New Issue
Block a user