[Gtk-sharp-list] System.Drawing.Graphics.DrawCurve Problem

Ivan N. Zlatev contact at i-nz.net
Tue Dec 6 07:04:51 EST 2005


1) and 2) Exxcuse me very much for my bad mistake. :(

3) Related to the bug - http://bugzilla.ximian.com/show_bug.cgi?id=76907
The poblem was that the count of points wasn't related to the number of
segments of the curve. "arrayPoints.Lenght" was used for the points
count and not "numberOfSegments + 1". We discussed that with Duncan Mak
and the issue is fixed now

Ivan


Jonathan Gilbert wrote:
> At 02:38 AM 03/12/2005 -0500, Duncan Mak wrote:
> 
>>On Sat, 2005-12-03 at 01:03 +0000, Ivan N. Zlatev wrote:
>>
>>>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
>>
>>I didn't try it with Gtk#, but in a simple program that just uses
>>System.Drawing and saves the bitmap to a file, the output looks correct.
>>
>>If you still see a problem, please file a bug and assign it to me.
>>
>>Duncan.
> 
> 
> I have three comments:
> 
> 1. You accidentally saved it as a BMP instead of a PNG, and only gave it
> the PNG extension. As a result, the file was 300 kilobytes instead of 3
> kilobytes.
> 
> 2. This is a rather large attachment for a public list. Suppose 500 people
> are subscribed; you just generated around 230 megabytes of traffic for the
> mail server!
> 
> 3. There does seem to be a problem in the curve, though not the
> aforementioned one. There seems to be a notch between the control point
> (70,213) and the next one (81,206). Instead of a straight diagonal line,
> two orthogonal lines are joined. Surely this is an error?
> 
> The relevant pixels:
> 
> ----------##
> ---------###
> ---------###
> -###########
> ############
> ###########-
> 
> Jonathan Gilbert
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 
> 


More information about the Gtk-sharp-list mailing list