We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

Looking For Something at Site? Search Below

# Assignment No. 02 Semester: Fall 2015 CS602: Computer Graphics

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 3750

Attachments:

### Replies to This Discussion

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

AOA! Dear fellows Share your valuable Ideas ... Early Posts will b highly Solicited ...

dear how we can add red color in our code
plz help

YOu need to use the setcolor(RED) property after declaring integers in your boundary_Fill function

Any one have the idea or not and please let me know i am not able add graphic library in my dev

it just a piece of cake

Any hint ????

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

#include
#include
#include
void boundfill(int xc,int yc,int r,int b)
{
int cur;
cur=getpixel(xc,yc);
if(cur!=b && cur!=r)
{
putpixel(xc,yc,r);
delay(1);

boundfill(xc+1,yc,r,b);
boundfill(xc-1,yc,r,b);
boundfill(xc,yc+1,r,b);
boundfill(xc,yc-1,r,b);
}

}
main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"..\\bgi");

rectangle(100,100,300,300);
boundfill(105,105,4,WHITE);

getch();
closegraph();
}

yeh kya dy dya :D

bro color kaisy ay ga. plz help us..

## Latest Activity

11 minutes ago
15 minutes ago
16 minutes ago
Laila kabeer liked 乇ﾒ-丂ｲひり3刀ｲ.'s discussion *** الوداع اردو ***
16 minutes ago
16 minutes ago
18 minutes ago
25 minutes ago
26 minutes ago
31 minutes ago
32 minutes ago
52 minutes ago
52 minutes ago
+ ! ! ! ! " Sуe∂α " updated their profile
57 minutes ago
1 hour ago
1 hour ago
1 hour ago

1

2

3

4

5