Intro/: Directory containing introductory examples.
HelloWorld.c A simple program that draws a box and writes "Hello World" in
HelloWorld.f it.
data The data file for the introductory progressive example.
Lines.c Reads the data from file "data" and plots just the curve with
Lines.f no labels, viewport or anything indicating quantity or units.
Viewport.c Restricts the graph to a viewport and frames the viewport,
Viewport.f leaving the remainder of the area for labels, etc.
CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis
CharLbls.f title.
Tics.c Adds tic marks to the viewport edges, but since clipping was
Tics.f not set correctly, tics extend outside the viewport.
Clip.c Sets clipping such that tic marks are clipped at the viewport
Clip.f boundaries.
TicLabels.c Adds numeric tic labels to the graph this is the final
TicLabels.f installment of the progressive example.
標(biāo)簽:
introductory
HelloWorld
containing
Directory
上傳時(shí)間:
2016-03-29
上傳用戶:exxxds
public class CircleMenuCanvas extends Canvas implements Runnable{
double pi = Math.PI
public final int MENURIGHT = 1
public final int MENULEFT = 0
Image menuImage[] = new Image[6]
int []jiaodu = {330,30,90,150,210,270}
String menuName[] = {"新游戲","繼續(xù)游戲","游戲設(shè)置","高分榜","游戲幫助","退出游戲"}
int x = getWidth()/2
int y = getHeight()/2
int count = 0
int local
int index = 0
Font f
boolean running = false
/**
* 構(gòu)造方法
*
*/
標(biāo)簽:
public
CircleMenuCanvas
implements
Runnable
上傳時(shí)間:
2014-01-08
上傳用戶:zhaoq123