I thought a cirlce will be located at the very center, but result is different. it's moved to right-bottom a little bit.
What is wrong on my script?
Advise me, please...
'cvs: BitmapEx, drw: DrawerEx, pen: PenEx
frmMain.Show
cvs.New2(frmMain.Width, frmMain.Height)
xCtr = cvs.Width/2
yCtr = cvs.Height/2
pen.New1(cBlue)
drw.New2(cvs.Value)
drw.DrawCircle(pen.Value, xCtr, yCtr, 133)
frmMain.DrawImage(cvs.Value,0,0)
|