HighTechTalks DotNet Forums  

How to draw a Line with XOR, OR, AND Raster Operation ?

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss How to draw a Line with XOR, OR, AND Raster Operation ? in the Dotnet Framework (Drawing) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
TECHNIMEX Vietnam
 
Posts: n/a

Default How to draw a Line with XOR, OR, AND Raster Operation ? - 10-05-2004 , 09:53 PM






In VB6, I use DrawMode to indicate the XOR when need to draw a XOR line
against the background image. But in .NET CF, they said that I must use
interop !?

I don't want to relate to GDI more.

Could you tell me a sample to draw a XOR line using CF (for my smartphone) ?

Thank you



Reply With Quote
  #2  
Old   
Bob Powell [MVP]
 
Posts: n/a

Default Re: How to draw a Line with XOR, OR, AND Raster Operation ? - 10-06-2004 , 08:29 AM






You cannot.

To use the GDI Raster Ops you have to use interop.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml






"TECHNIMEX Vietnam" <techhanoi (AT) hn (DOT) vnn.vn> wrote

Quote:
In VB6, I use DrawMode to indicate the XOR when need to draw a XOR line
against the background image. But in .NET CF, they said that I must use
interop !?

I don't want to relate to GDI more.

Could you tell me a sample to draw a XOR line using CF (for my smartphone)
?

Thank you





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.