Simba Code:
{*******************************************************************************
procedure DebugATPABounds(aPoints: Array Of TPointArray);
By: Wizzup?, lordsaturn, & caused
Description: Shows an image of the client, plotting each TPA's bounds as a box
of different colour per TPA. If a name is specified, an image
will be saved.
*******************************************************************************}
//I used Wizzup procedure as a base to create this Procedure which does not work
//All credits goes to Wizzup, Hope it is not called plagiarism
Procedure DebugATPABounds1(atpa:T2DPointArray);
var
i, length: Integer;
B: TBox;
begin
length := High(atpa);
for i:=0 to length do
begin
B := GetTPABounds(atpa[i]);
SMART_DrawBox(B);
end;
end;
Source: Debug.simba by Wizzup
I wanted to create a debug boxes inside SMART which shows the boundaries of all TPAs of the given ATPA, I tried to modify the script to draw the debug box images inside the smart but did not work.
Does Simba have predefined function/includes to do so? I have seen these Debug images inside SMART in MSI scripts, anybody could help me please?