Canvas.PolyBezier lazarus / 39-Graphics ---------------------------------------------------------------------- BubikolRamios · 2025-07-07 12:56 Do tell why left data draws something, right draws nothing ? Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i PaintBox1.Canvas.PolyBezier(Points_Polybezier); ---------------------------------------------------------------------- BubikolRamios · 2025-07-07 13:18 Hmm, it appears that first and last point must be approx the same ? Edit: Ignore that, seems so just in this case. ---------------------------------------------------------------------- wp · 2025-07-07 22:16 The PolyBezier function is very nitpicking about the number of points. When the "Continuous" argument is true (it is optional and true by default), there must not be any extra points, i.e. for N spline segments there must be 3*N + 1 points - otherwise nothing is painted at all! There is a bug report about it: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41747 Delphi, BTW, has the same behaviour. So, the big question then is: Is it a bug then or not?