I want to draw a triangle in Delphi with Canvas
.
This pointer will serve as a pointer to a Gauge
(Speedometer) as in this example:
I use TPoint()
to set where the pointer will point. I know the starting point, but my difficulty is in rotating the triangle to the correct angle.