RE: .NET CF Drawing Problems
- From: v-yren@xxxxxxxxxxxxx ("Yuan Ren[MSFT]")
- Date: Mon, 21 Nov 2005 07:56:49 GMT
Hi Cristian,
Welcome to MSDN newsgroup!
Based on my understanding, your concern is the Bitmap.Setpixel method has
the bad performance in your application. If I have misunderstood anything,
please let me know.
By using Reflector tool, you can find the Bimap.Setpixel method calls the
GdipBitmapSetPixel function which belongs to native GDI. So I think the
problem is not caused by .NET Compact Framework. As far as I know, neither
..NET CF nor EVC (Embedded Visual C++) contains LockBits method because the
platform doesn't supply it.
In the situation, I suggest we should create a buffer like the LockBits
does by ourselves. If the performance also bad, I think maybe the problem
caused by algorithm. Or you can post the issue to GDI queue and discuss
with the people who may have more experience about GDI performance.
I hope the above information helps, if you have any questions or concerns,
please do not hesitate to let me know. I am looking forward your reply.
Yuan Ren [MSFT]
Microsoft Online Support
.
- References:
- .NET CF Drawing Problems
- From: MoriCristian
- .NET CF Drawing Problems
- Prev by Date: Re: 1.1 perf versus 2.0
- Next by Date: Re: Static member
- Previous by thread: .NET CF Drawing Problems
- Next by thread: RE: .NET CF Drawing Problems
- Index(es):
Relevant Pages
|
Loading