factors of array of TPoint....

Giganews Newsgroups
Subject:factors of array of TPoint....
Posted by: David HAROUCHE (dharouc…@live.fr)
Date:Wed, 30 Dec 2009

How should I resize a path I dont know the barycenter ?

path[0] := Point(-1,-1)
path[1] := Point(1,1)
.....
path[n] := Point(x,y)

knowing the path is relative to O(0,0), its easy to apply a factor...

How to, with an array of TPoint you don't know where it is fixed at ?

DH

Replies