Canvas.PolyBezier fix
Original Reporter info from Mantis: Alextp
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextp
- Reporter name: CudaText man
Description:
According to Delphi docs, Delphi always paints continuous curves
http://docwiki.embarcadero.com/Libraries/Rio/en/Vcl.Graphics.TCanvas.PolyBezier
but LCL has default value of "Continuous" in PolyBezier() as False. fixed it.
Also added try/finally.
Also added check of minimal count of points in the curve as 4 points (bezier curve has 4 points: start, end, control1, control2).
Mantis conversion info:
- Mantis ID: 36442
- Version: 2.1 (SVN)
- Fixed in revision: 62404 (#07e7174b)
- Target version: 2.2