[Lazarus] need help : identifier var pointtype error in lazarus

Malcolm Poole malcolm at lingua-z.co.uk
Tue Sep 8 09:42:53 CEST 2009


Malcolm Poole wrote:
> andri tea wrote:
>> using variabel
>> var
>> ...
>> poligon : array [1..5] of pointtype;
>> ...
>>
>
> Try
> poligon : array [1..5] of TPoint;
>
And to draw the polygon look at TCanvas.PolyBezier

I think that
Canvas.PolyBezier(poligon, true, true)
will probably do what you want.

Malcolm




More information about the Lazarus mailing list