- The name of primitives and constants is ``Scheme-like''
splitted in words:
Message Args
⇒ Result |
Comments
|
|
Borland C 3.0 |
|
PCSCHEME |
initgraph(...) |
 |
(init-graph ...) |
setcolor( ) |
 |
(set-color ) |
- Since graphic constants are contextual (which is not the case in C),
we have removed redundancy in symbol names:
Borland C 3.0 |
|
PCSCHEME |
setlinestyle( , ...) |
 |
(set-line-style ...) |
settextstyle( , , 4) |
 |
(set-text-style
4) |
- Some parameters are optional. The following commands, for instance,
are all equivalent:
(init-graph
0 "")
(init-graph
0)
(init-graph
)
(init-graph)
- Static structures have been replaced by lists.
For instance, a polygon is not an integer and an array,
but simply a list of points.
- The coordinate system can be completely adapted by the user.
- Twin-functions returning X and Y values have been joined and produce
a point (i.e. a pair). This is true for text measurement, too.
- Special memory allocation functions have not been included.