Difference between revisions of "Talk:Programming Tutorial"

From Progzoo
Jump to: navigation, search
(Flag of France (PyX version))
(Flag of France (PyX version))
Line 24: Line 24:
 
</prog>
 
</prog>
 
</question>
 
</question>
==Flag of France (PyX version)==
+
==Flag of Germany==
 +
<question height="140" width="190" imgOut="flag.png" className="Raster" title="France" rows="9" cols="40">
 +
The guide image is produced using the following:
 +
<shell lang="java" className="Flag" import="shells.xml#raster"/>
 +
<prog lang="java">static void drawFlag(Graphics2D g){
 +
  g.setColor(Color.white);
 +
  g.fillRect(0,0,190,140);
 +
  g.translate(20,20);
 +
  g.setColor(Color.black);
 +
  g.fillRect(0,0,150,30);
 +
  g.setColor(Color.red);
 +
  g.fillRect(0,30,150,30);
 +
  g.setColor(Color.yellow);
 +
  g.fillRect(0,60,150,30);
 +
  g.setColor(Color.black);
 +
  g.drawRect(0,0,150,90);
 +
  g.translate(-15,-5);
 +
  g.drawString("0, 1",0,0);
 +
  g.drawString("1, 0",50,0);
 +
  g.drawString("2, 0",100,0);
 +
  g.drawString("0, 0",0,120);
 +
}
 +
</prog>
 +
</question>
 +
 
 +
==Flag of Palau==
 
<question height="140" width="190" imgOut="flag.png" className="Raster" title="France" rows="9" cols="40">
 
<question height="140" width="190" imgOut="flag.png" className="Raster" title="France" rows="9" cols="40">
 
The guide image is produced using the following:
 
The guide image is produced using the following:

Revision as of 20:37, 24 December 2007

Flag of France

The guide image is produced using the following:


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

Flag of Germany

The guide image is produced using the following:


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

Flag of Palau

The guide image is produced using the following:


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