Jump to content

Which way to Draw a Xor line on a graphics object ?


Recommended Posts

Guest ChinDangShun
Posted

.NET Compact Framework do not support the ROP (Raster Operation) like AND, OR, XOR ... (A STUPID MICROSOFT! So they will lose their customers/developers, especially in graphics programming).

The MSDN said that:

- Can use Interops but .Net CF does not allow !

- Can use BitArray to XOR with existing BitArray but I do not have the sample !

- Can use ControlPaint.DrawReversibleLine but .NET CF does not support !

Could any1 show me which way to draw a line XOR (AND, OR) against the existing image/background ?

Thank you.

  • 4 weeks later...
Guest trojan2k
Posted

This is hard to do even in Normal C# - IMO doing an XOR against an array and paging the result back to the screen would be too slow ...

are you trying to make some kind of selection box ?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.