CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    9

    Cool GDI+ doesnt have FloodFill

    strangely enough the GDI+ does not support the GDI's function FloodFill.
    Again with the risk game that i'm developing, I depend on that function.
    other that implementing the function myself, does anyone have an idea?
    maybe it is possible to use the GDI's FloodFill somehow??

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

    Re: GDI+ doesnt have FloodFill

    Most if not all the original GDI is available if you use P/Invoke.

    On a previous thread I had a go with drawing XOR lines but it should show you what steps are required. Previous Thread It even contains a method to convert .NET Argb values to GDI RGB values...
    Last edited by Norfy; February 1st, 2005 at 04:58 PM.
    Useful? Then click on (Rate This Post) at the top of this post.

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