Resizing paint objs

Reply

Join Date: Oct 2004
Posts: 1
Reputation: jdigga07 is an unknown quantity at this point 
Solved Threads: 0
jdigga07 jdigga07 is offline Offline
Newbie Poster

Resizing paint objs

 
0
  #1
Oct 28th, 2004
newbie taking java 1 got a question my book seems to be hiding the answer to. my project is to make a smiley face that resizes when the window changes size. my prof. gave told us that size is all relative when creating the face the circle head something along these lines
w being width, h heght...

g.drawArc(w/8,h/8,w/2,w/3,0,360);


i suppose that would seem fine but when i did it, it resized by when i added the eyes with different dimensions they resized but not the way i wanted it to the eyes were on the outside of the head. now i combed through my book looking for the answer to this problem and it seems to have forgotten to include resizing help. perhaps someone can help me here
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC