[Gtk-sharp-list] System.Drawing.Graphics.DrawCurve Problem
Ivan N. Zlatev
contact at i-nz.net
Fri Dec 2 20:03:33 EST 2005
Hi,
I am trying to connect these points, retrieved from a MotionNotifyEvent,
to a solid line ( probably like a painting program will do it ) using
Graphics.DrawCurve:
{X=56,Y=276}
{X=55,Y=274}
{X=54,Y=269}
{X=59,Y=237}
{X=70,Y=213}
{X=81,Y=206}
{X=95,Y=211}
{X=137,Y=248}
{X=176,Y=260}
{X=219,Y=248}
{X=251,Y=220}
{X=277,Y=161}
{X=283,Y=92}
The problem is that the result from a
gfx.DrawCurve(pen, arrayOfPoints, 0, pointsCount,1.0F);
is http://x12.putfile.com/12/33518393672.png
It seems to connect each Point with (0,0) plus what I am expecting
connects them from the first to the last? o_0 What is the problem - is
this a bug
or am I bugged ? :) mono 1.10.0 on SuSE Linux
More information about the Gtk-sharp-list
mailing list