1

When I draw to a TCanvas using LineTo(), the lines end with a half circle bulge on them, not by a cut.

How can I disable this ending using the Windows API or Delphi's graphic system?

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
SOLID Developper
  • 672
  • 4
  • 12
  • 1
    This (German) discussion has some sample code https://www.delphipraxis.net/92808-tcanvas-pen-und-die-abgerundeten-ecken.html – NineBerry Nov 28 '19 at 12:41
  • I tend to use GDI+ for these types of features. Much more difficult to use, but very flexible. – Jerry Dodge Nov 28 '19 at 14:48

0 Answers0