G
Geoff Pennington
I've never done any graphics before and am experimenting. I tried to draw a
circle using the graphics.DrawEllipse() method, something like this:
DrawEllipse(myPen, 0,0,300,300). However, the "circle" came out a little
stretched, as if I had given it parameters for a rectangle instead of a
square.
I know this has something to do with the screen resolution; when I changed
the resolution using the Control Panel | Display settings, the amount of
distortion changed. I thought I could use the DpiX and DpiY properties to
tell me how to adjust, but they both showed "96". If I understand those
properties correctly, it seems there should be no distortion, since they are
equal.
Can someone tell me how to make my circles circular and avoid the stretching
effect?
Much obliged.
circle using the graphics.DrawEllipse() method, something like this:
DrawEllipse(myPen, 0,0,300,300). However, the "circle" came out a little
stretched, as if I had given it parameters for a rectangle instead of a
square.
I know this has something to do with the screen resolution; when I changed
the resolution using the Control Panel | Display settings, the amount of
distortion changed. I thought I could use the DpiX and DpiY properties to
tell me how to adjust, but they both showed "96". If I understand those
properties correctly, it seems there should be no distortion, since they are
equal.
Can someone tell me how to make my circles circular and avoid the stretching
effect?
Much obliged.