This is an example of using the form's ForeLayer property with the Polygon method to create a rotating arrow.
The position of each coordinate is calculated using this formula:
New X = X * Cos(degree) - Y * Sin(degree)
New Y = Y * Cos (degree) + X * Sin(degree)
As we are using the forelayer there is no need to redraw the background.
The position of each coordinate is calculated using this formula:
New X = X * Cos(degree) - Y * Sin(degree)
New Y = Y * Cos (degree) + X * Sin(degree)
As we are using the forelayer there is no need to redraw the background.