[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #10360] System.Drawing.Bitmap.LockBits unimpleme
From: |
Ovidiu Sabou |
Subject: |
[Pnet-developers] [bugs #10360] System.Drawing.Bitmap.LockBits unimplemented |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7) Gecko/20040823 Firefox/0.9.3 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #10360] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10360>
Project: DotGNU Portable.NET
Submitted by: Ovidiu Sabou
On: Sun 09/12/2004 at 06:02
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Summary: System.Drawing.Bitmap.LockBits unimplemented
Original Submission: the LockBits and UnlockBits from Bitmap class are not
implemented. My project which uses OpenGL for drawing calls those functions to
get the bitmap data in order to pass it to the opengl texture generator. Since
pnet stores the bitmap data in a managed array, a conversion from managed to
unmanaged must be done with the DotGNU.Images.Frame.Data. Patch modifies the
Utils class from DotGNU.Images from internal to public ( in order for some
functions to be used by LockBits inside System.Drawing) and also implements
those functions. It is only meants to be used for read only purposes. So any
modifications made to the BitmapData after locking will be lost. UnlockBits
doesn't make any modifications to the bitmap, it only sets free the memory
pointed by Scan0 pointer
File Attachments
-------------------
-------------------------------------------------------
Date: Sun 09/12/2004 at 06:02 Name: ovidiu-040912.patch Size: 5.89KB By:
ovidiu_s
patch with a simple implementation
http://savannah.gnu.org/bugs/download.php?item_id=10360&item_file_id=1653
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10360>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Pnet-developers] [bugs #10360] System.Drawing.Bitmap.LockBits unimplemented,
Ovidiu Sabou <=