CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Draw XOR Lines

  1. #1
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Draw XOR Lines

    Here's one I've never been able to work out.

    How do you draw an XOR-ed line using the Graphics object ?

    Thanks as always.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  2. #2
    Join Date
    Nov 2004
    Location
    Poland
    Posts
    1,355

    Re: Draw XOR Lines

    As I know,there is no XOR drawing in GDI+

    Maybe U can draw a line in pixel by pixel basis (and XOR it manually).

    Best regards,
    Krzemo.

  3. #3
    Join Date
    Dec 2003
    Location
    http://map.search.ch/zuerich.en.html
    Posts
    1,074

    Re: Draw XOR Lines

    Here's one that was prepared earlier: XOR Line Drawing
    Useful? Then click on (Rate This Post) at the top of this post.

  4. #4
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Draw XOR Lines

    Thanks for that Norfy : I was trying to do this without resorting to interop but it looks like I'm left with no choice.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured