InvertTPA

From SCAR Divi Manual
Revision as of 22:57, 7 September 2012 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure InvertTPA(var TPA: TPointArray); </source> ==Availability== SCAR Divi 3.36 > Current ==Description== This functio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure InvertTPA(var TPA: TPointArray);

Availability

SCAR Divi 3.36 > Current

Description

This function inverts a given TPointArray TPA by replacing it by all of the points inside of the array's bounds that were not defined in the array.

Example

var
  TPA: TPointArray;  
  
begin
  TPA := [Point(0, 0), Point(1, 1)];   
  InvertTPA(TPA);
  WriteLn(TPAToStr(TPA));  
end.

Output:

(1,0);(0,1)