Thread: some ellipse and ExtFloodFill problem

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    77

    some ellipse and ExtFloodFill problem

    im stuck in a middle of the program. im tring to draw three ellipse which is join together and wish to use the ExtFloodFill to colour the circle inner part.
    the three ellipse is draw like three circle overlapping each other and each circle is coloured with one of the basic colour. and the middle of the picture where all circle overlap is a magenta in colour.

    now when i draw the three circle, i was unable to view the line of the circle that has overlap the other circle. and when i use the ExtFloodFill, it will colour all the circle and not one of the circle only.

    im using the visual c++ and the win32 application project.

    i have attach the picture that i wish to draw.

  2. #2
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680

    Re: some ellipse and ExtFloodFill problem

    Originally posted by monkeymon
    i have attach the picture that i wish to draw.
    You want to draw a white screen?

    Did you call the GetDeviceCaps function to check if the device supports the ExtFloodFill function?
    Have you tried the FLOODFILLSURFACE filltype?

  3. #3
    Registered User
    Join Date
    Apr 2002
    Posts
    77
    nvm
    thanks i have figure out how to draw the circle alright.

    i need to Select a new stock brush which is a NULL_BRUSH.....

    ya im using the FLOODFILLSURFACE

Popular pages Recent additions subscribe to a feed