Whitehat wrote:
> I solved it by setting the array size to the maximum size I would need.
> Then after loading in the needed points I set all the points beyond that
> to the last needed point. It's not very elegant but it works.
> 
>> Whitehat wrote:
>>> I want to draw a polygon using an array of points. The size of the
>>> array can vary from 10 to 100. How do I get the Polygon procedure to
>>> work with a variable size array?

By the "Polygon" procedure, I'm assuming you mean TCanvas.Polygon?

If so, a dynamic array ought to just work, what sort of trouble are you 
having?

Stephen Posey
[EMAIL PROTECTED]

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to