[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #9941] ControlPaint.DrawXXX() throws NullReferen
From: |
Gopal.V |
Subject: |
[Pnet-developers] [bugs #9941] ControlPaint.DrawXXX() throws NullReferenceException when drawing on bitmap |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #9941] Latest Modifications:
Changes by:
Gopal.V <address@hidden>
'Date:
Wed 08/11/2004 at 15:06 (Asia/Calcutta)
------------------ Additional Follow-up Comments ----------------------------
The Pen is set in System.Drawing.Xsharp only if the class is
a DrawingGraphics . The case where it can be an IToolkitImageGraphics is
totally ignored.
But I don't see a fix yet :(
/**************************************************************************/
[bugs #9941] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9941>
Project: DotGNU Portable.NET
Submitted by: 0
On: Mon 08/09/2004 at 16:42
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Status: Open
Summary: ControlPaint.DrawXXX() throws NullReferenceException when drawing on
bitmap
Original Submission:
The Draw* methods in System.Windows.Forms.ControlPaint
throw a NullReferenceException when drawing on a bitmap.
The attached test works on the MS .NET Framework.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Wed 08/11/2004 at 15:06 By: t3rmin4t0r
The Pen is set in System.Drawing.Xsharp only if the class is
a DrawingGraphics . The case where it can be an IToolkitImageGraphics is
totally ignored.
But I don't see a fix yet :(
-------------------------------------------------------
Date: Tue 08/10/2004 at 14:28 By: drobosson
System.Drawing/Toolkit/ToolkitGraphicsImageBase.cs, selectedPen doesn't appear
to be set to anything and setting it to base.Pen and attempting to cast it
yields the same results. Someone else with better knowledge of how the toolkit
is put together and operates might have better luck.
File Attachments
-------------------
-------------------------------------------------------
Date: Mon 08/09/2004 at 16:42 Name: ControlPaintTest.cs Size: 517B By: None
test ControlPaint.DrawCheckBox() on bitmap
http://savannah.gnu.org/bugs/download.php?item_id=9941&item_file_id=1572
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9941>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/