T2DPointArray

From SCAR Divi Manual
Revision as of 00:34, 21 October 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> T2DPointArray = array of TPointArray; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== A dynamic 2 dimensio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

T2DPointArray = array of TPointArray;

Availability

SCAR Divi 3.00 > Current

Description

A dynamic 2 dimensional array type based on the TPoint type.

Example

var
  ATPA: T2DPointArray;

begin
  SetLength(ATPA, 3);
  ATPA[0] := [Point(1, 1), Point(2, 2)];
  ATPA[1] := [Point(3, 3), Point(4, 4)];
  ATPA[2] := [Point(5, 5), Point(6, 6)];
  WriteLn(TPAToStr(MergeATPA(ATPA)));
end.

Output:

(1,1);(2,2);(3,3);(4,4);(5,5);(6,6)

See Also