Quantcast
Channel: Deep Liquid » howto
Viewing all articles
Browse latest Browse all 2

Rotating a Polygon: Drawing a Directional Arrow

$
0
0
I needed to draw an arrowhead to show the direction of lines drawn on the canvas. When I searched for this I didn't find any complete solutions, so I wanted to share mine. Includes useful canvas routines to translate and rotate a data structure representing the polygon coordinates.

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images