accessing bitmaps bits

Robert Roebling <[email protected]> Sun, 12 Jun 2005 18:20:48 +0200
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
 Hi all,

this is more of a theoretical question. I wonder
how anyone would wrap the wxRawBitmap classes and
-more interesting to me- how efficient these would
be. The largely undocuemented wxRawBitmap classes
provide direct access to the pixel data of alpha-
channeled wxBitmaps under all platforms and the
classes involved overcome differences in ordering
of colour channels using C++ templates. This makes
it possible to access the RGBA bits with no loss
of CPU cycles.

What I'm actually asking is how efficient C# apps
can handle bit manipulation of this kind. I'd 
think that here C++ would show a major advantage,
but how big/relevant this would be in is what 
I know nothing about. Can the .NET or Mono JIT
produce efficient code even for that or can the
code give hints?

  Robert 



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20