Difference between revisions of "Talk:Programming Tutorial"

From Progzoo
Jump to: navigation, search
(Flag of France)
(Flag of France)
Line 6: Line 6:
 
   g.setColor(Color.white);
 
   g.setColor(Color.white);
 
   g.fillRect(0,0,120,170);
 
   g.fillRect(0,0,120,170);
   g.translate(10,10);
+
   g.translate(20,20);
 
   g.setColor(Color.blue);
 
   g.setColor(Color.blue);
 
   g.fillRect(0,0,50,100);
 
   g.fillRect(0,0,50,100);
Line 15: Line 15:
 
   g.setColor(Color.black);
 
   g.setColor(Color.black);
 
   g.drawRect(0,0,150,100);
 
   g.drawRect(0,0,150,100);
   g.drawString("(0,0)",-15,-5);
+
  g.translate(-15,-5);
 +
   g.drawString("0,0",0,0);
 +
  g.drawString("50,0",50,0);
 +
  g.drawString("100,0",100,0);
 +
  g.drawString("0,100",0,120);
 
}
 
}
 +
 
</prog>
 
</prog>
 
</question>
 
</question>

Revision as of 23:35, 18 November 2007

Flag of France

The guide image is produced using the following:


[Font] [Default] [Show] [Resize] [History] [Profile]