Results 1 to 3 of 3

Thread: Query with Filling Functions

  1. #1
    Contributing Member
    Join Date
    May 2006
    Answers
    72

    Query with Filling Functions

    What is the diffrence between the two graphics function in C++ namely floodfill and setfillstyle. If someone could provide a example it would be more useful.


  2. #2
    Contributing Member
    Join Date
    Jul 2006
    Answers
    63

    Re: Query with Filling Functions

    The floodfill() library function fills in the color in the interior of the object specified. The function starts the fill at a particular X,Y location inside the object which is specified in the first two arguments.
    The setfillstyle() function takes two arguments. The first argument is a pattern and the second argument is the color.


  3. #3
    Contributing Member
    Join Date
    May 2006
    Answers
    72

    Re: Query with Filling Functions

    Thank you very much for your detailed explanation christia. I could get a good idea about the two functions from your explanation. In fact I even tried a sample and could get my result as desired.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact