Difference between revisions of "Talk:Programming Tutorial"

From Progzoo
Jump to: navigation, search
(New page: ==Flag of France== <question height="120" width="170" imgOut="flag.png" className="Raster" title="France" rows="9" cols="40"> The guide image is produced using the following: <img src="/im...)
 
(Flag of France)
Line 2: Line 2:
 
<question height="120" width="170" imgOut="flag.png" className="Raster" title="France" rows="9" cols="40">
 
<question height="120" width="170" 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:
<img src="/img/flagfrance.png" alt="Flag of France"/>
 
 
<shell lang="java" className="Flag" import="shells.xml#raster"/>
 
<shell lang="java" className="Flag" import="shells.xml#raster"/>
 
<prog lang="java">static void drawFlag(Graphics2D g){
 
<prog lang="java">static void drawFlag(Graphics2D g){
Line 16: 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)",-5,-5);
 
}
 
}
 
</prog>
 
</prog>
 
</question>
 
</question>

Revision as of 23:30, 18 November 2007

Flag of France

The guide image is produced using the following:


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