Skip to content
Browse files

Removed createElement from ADG2010 presentation

git-svn-id: https://jsxgraph.svn.sourceforge.net/svnroot/jsxgraph/trunk@1509 7c92b7f9-d755-0410-b551-badfda17afea
  • Loading branch information...
1 parent f7c599d commit 9df0bfb0a92f63f81b326e15db76321001de630a A_WASSERMANN committed Jul 20, 2010
Showing with 10 additions and 10 deletions.
  1. BIN doc/adg2010/presentation.pdf
  2. +10 −10 doc/adg2010/presentation.tex
View
BIN doc/adg2010/presentation.pdf
Binary file not shown.
View
20 doc/adg2010/presentation.tex
@@ -349,19 +349,19 @@ \section{Implementing this algorithm in JSXGraph}
<script type="text/javascript">
/* <![CDATA[ */
board = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-4, 6, 8, -4], axis: true, grid: false, keepaspectratio: true});
- A = board.createElement('point', [0, 0]);
- B = board.createElement('point', [6, 0]);
- C = board.createElement('point', [4, 4]);
+ A = board.create('point', [0, 0]);
+ B = board.create('point', [6, 0]);
+ C = board.create('point', [4, 4]);
- t1 = board.createElement('triangle', [A, B, C], {strokeWidth: '1px'});
+ t1 = board.create('triangle', [A, B, C], {strokeWidth: '1px'});
- X = board.createElement('point', [4, 1.5], {name:"X"});
+ X = board.create('point', [4, 1.5], {name:"X"});
- L = board.createElement('perpendicularpoint', [X, t1.c]);
- M = board.createElement('perpendicularpoint', [X, t1.a]);
- N = board.createElement('perpendicularpoint', [X, t1.b]);
+ L = board.create('perpendicularpoint', [X, t1.c]);
+ M = board.create('perpendicularpoint', [X, t1.a]);
+ N = board.create('perpendicularpoint', [X, t1.b]);
- t2 = board.createElement('triangle', [L, M, N], {strokeWidth: '1px'});
+ t2 = board.create('triangle', [L, M, N], {strokeWidth: '1px'});
[...]
\end{lstlisting}
@@ -392,7 +392,7 @@ \section{Implementing this algorithm in JSXGraph}
return ['4*'+as+'*'+cs+'-('+as+'+'+cs+'-'+bs+')*('+as+'+'+cs+'-'+bs+')-('+as16+')'];
};
- locus = board.createElement('locus', [X], {strokeColor: 'red'});
+ locus = board.create('locus', [X], {strokeColor: 'red'});
/* ]]> */
</script>
\end{lstlisting}

0 comments on commit 9df0bfb

Please sign in to comment.
Something went wrong with that request. Please try again.