bbri06
2010-05-16 16:02:20
Can this be done? If so, how?
2010-05-16 16:02:20
2010-05-16 16:12:02
var
B : TBox;
begin
WriteLn([B.x1, B.y1, B.x2, B.y2]);
end.Or are you talking on painting it on a debug canvas?
2010-05-16 16:35:00
2010-05-16 16:58:58
2010-05-16 17:00:19
From: bbri06
I meant painting in on the debug canvas, sorry.
{.include SRL\SRL.scar}
{.include SRL\SRL\Misc\Debug.scar}
const
X1 = 0;
Y1 = 0;
X2 = 100;
Y2 = 100;
var
ATPA: T2DPointArray;
begin
SetLength(ATPA, 1);
SetLength(ATPA[0], 2);
ATPA[0][0] := Point(X1, Y1);
ATPA[0][1] := Point(X2, Y2);
DebugATPABounds(ATPA);
end.
2010-05-16 17:10:53