Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

New Post: Draw rotated ellipse?

$
0
0
I want to simulate this WPF code:
<Ellipse.RotateTransform>
<RotateTransform Angle="30" />
</Ellipse.RotateTransform>

Thus, rotating around the center of the ellipse. I suppose that's the Z axis. Are you saying that x and y should be multiplied with cos(30 deg) and sin(30 deg) inside the loop?

Viewing all articles
Browse latest Browse all 360

Trending Articles