full support for Canvas, multiple Worlds (changes to docs)
svn: r2715
This commit is contained in:
parent
3b27908c7d
commit
7f2f2520fc
|
@ -1,7 +1,7 @@
|
|||
{ (define LIBNAME "A Functional Drawing Library (HtDC)")
|
||||
(include "head.tinc") }
|
||||
|
||||
This `draw' package provides classes and methods for modeling in a visual
|
||||
This `draw' package provides classes and methods for a visual
|
||||
world. Here is its class diagram of public fields and methods:
|
||||
<pre>
|
||||
<code>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
(include "head.tinc") }
|
||||
|
||||
|
||||
This `idraw' package provides classes and imperative methods for modeling
|
||||
in a visual world. Here is its class diagram of public fields and methods:
|
||||
This `idraw' package provides classes and imperative methods for
|
||||
a visual world. Here is its class diagram of public fields and methods:
|
||||
|
||||
<pre>
|
||||
<code>
|
||||
|
@ -13,8 +13,8 @@ in a visual world. Here is its class diagram of public fields and methods:
|
|||
| Canvas theCanvas |------>| Canvas |
|
||||
+---------------------------------+ +------------------------------------+
|
||||
| void bigBang(int,int,double) | +------------------------------------+
|
||||
| World endOfTime() | | void start(int,int) |
|
||||
| World endOfWorld() | | void stop() |
|
||||
| World endOfTime() | | void show() |
|
||||
| World endOfWorld() | | void close() |
|
||||
| abstract void onTick() | | void drawCircle(Posn,int,Color) |
|
||||
| abstract void onKeyEvent(String)| | void drawDisk(Posn,int,Color) |
|
||||
| abstract void draw() | | void drawRect(Posn,int,int,Color) |
|
||||
|
|
Loading…
Reference in New Issue
Block a user