More API Docs updates

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@810 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-10-13 02:35:36 +00:00
parent 47852b96a0
commit 588902cecf
17 changed files with 102 additions and 69 deletions

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<html><head><meta http-equiv="Refresh" CONTENT="0; URL=files/svgcanvas-mine-js.html"></head></html>
<html><head><meta http-equiv="Refresh" CONTENT="0; URL=files/svgcanvas-js.html"></head></html>

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=IPageTitle>File Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; D &middot; E &middot; F &middot; G &middot; H &middot; I &middot; J &middot; K &middot; L &middot; M &middot; N &middot; O &middot; P &middot; Q &middot; R &middot; <a href="#S">S</a> &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="S"></a>S</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/svgcanvas-mine-js.html#svgcanvas-mine.js" class=ISymbol>svgcanvas-mine.js</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/svgcanvas-js.html#svgcanvas.js" class=ISymbol>svgcanvas.js</a></td></tr></table>
<div id=Index><div class=IPageTitle>File Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; D &middot; E &middot; F &middot; G &middot; H &middot; I &middot; J &middot; K &middot; L &middot; M &middot; N &middot; O &middot; P &middot; Q &middot; R &middot; <a href="#S">S</a> &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="S"></a>S</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/svgcanvas-js.html#svgcanvas.js" class=ISymbol>svgcanvas.js</a></td></tr></table>
<!--START_ND_TOOLTIPS-->
<!--END_ND_TOOLTIPS-->
@ -21,7 +21,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<div id=Menu><div class=MEntry><div class=MFile><a href="../files/svgcanvas-mine-js.html">svgcanvas-mine.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/svgcanvas-js.html">svgcanvas.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="General.html">Everything</a></div></div><div class=MEntry><div class=MIndex id=MSelected>Files</div></div><div class=MEntry><div class=MIndex><a href="Functions.html">Functions</a></div></div></div></div></div><script type="text/javascript"><!--
<div id=Menu><div class=MEntry><div class=MFile><a href="../files/svgcanvas-js.html">svgcanvas.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="General.html">Everything</a></div></div><div class=MEntry><div class=MIndex id=MSelected>Files</div></div><div class=MEntry><div class=MIndex><a href="Functions.html">Functions</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Files">Files</option><option value="Functions">Functions</option></select></div></div><!--Menu-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -32,7 +32,7 @@ var indexSectionsWithContent = {
"Functions": {
"Symbols": false,
"Numbers": false,
"A": false,
"A": true,
"B": false,
"C": true,
"D": true,

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_svgcanvas_minmine_perjs><div class=IEntry><a href="../files/svgcanvas-mine-js.html#svgcanvas-mine.js" target=_parent class=ISymbol>svgcanvas-mine.js</a></div></div><div class=SRResult id=SR_svgcanvas_perjs><div class=IEntry><a href="../files/svgcanvas-js.html#svgcanvas.js" target=_parent class=ISymbol>svgcanvas.js</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_svgcanvas_perjs><div class=IEntry><a href="../files/svgcanvas-js.html#svgcanvas.js" target=_parent class=ISymbol>svgcanvas.js</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_createLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_createLayer')" class=ISymbol>createLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#createLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#createLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_clear><div class=IEntry><a href="../files/svgcanvas-js.html#clear" target=_parent class=ISymbol>clear</a></div></div><div class=SRResult id=SR_clearSelection><div class=IEntry><a href="../files/svgcanvas-js.html#clearSelection" target=_parent class=ISymbol>clearSelection</a></div></div><div class=SRResult id=SR_createLayer><div class=IEntry><a href="../files/svgcanvas-js.html#createLayer" target=_parent class=ISymbol>createLayer</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_deleteCurrentLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_deleteCurrentLayer')" class=ISymbol>deleteCurrentLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#deleteCurrentLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#deleteCurrentLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_deleteCurrentLayer><div class=IEntry><a href="../files/svgcanvas-js.html#deleteCurrentLayer" target=_parent class=ISymbol>deleteCurrentLayer</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getCurrentLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getCurrentLayer')" class=ISymbol>getCurrentLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getCurrentLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getCurrentLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_getLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getLayer')" class=ISymbol>getLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_getLayerVisibility><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getLayerVisibility')" class=ISymbol>getLayerVisibility</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getLayerVisibility" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getLayerVisibility" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_getNumLayers><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getNumLayers')" class=ISymbol>getNumLayers</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getNumLayers" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getNumLayers" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_getSvgString><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getSvgString')" class=ISymbol>getSvgString</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getSvgString" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getSvgString" target=_parent class=IFile>svgcanvas.js</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getCurrentLayer><div class=IEntry><a href="../files/svgcanvas-js.html#getCurrentLayer" target=_parent class=ISymbol>getCurrentLayer</a></div></div><div class=SRResult id=SR_getLayer><div class=IEntry><a href="../files/svgcanvas-js.html#getLayer" target=_parent class=ISymbol>getLayer</a></div></div><div class=SRResult id=SR_getLayerVisibility><div class=IEntry><a href="../files/svgcanvas-js.html#getLayerVisibility" target=_parent class=ISymbol>getLayerVisibility</a></div></div><div class=SRResult id=SR_getNumLayers><div class=IEntry><a href="../files/svgcanvas-js.html#getNumLayers" target=_parent class=ISymbol>getNumLayers</a></div></div><div class=SRResult id=SR_getSvgString><div class=IEntry><a href="../files/svgcanvas-js.html#getSvgString" target=_parent class=ISymbol>getSvgString</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_save><div class=IEntry><a href="javascript:searchResults.Toggle('SR_save')" class=ISymbol>save</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#save" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#save" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_setCurrentLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_setCurrentLayer')" class=ISymbol>setCurrentLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#setCurrentLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#setCurrentLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_setCurrentLayerPosition><div class=IEntry><a href="javascript:searchResults.Toggle('SR_setCurrentLayerPosition')" class=ISymbol>setCurrentLayerPosition</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#setCurrentLayerPosition" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#setCurrentLayerPosition" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_setLayerVisibility><div class=IEntry><a href="javascript:searchResults.Toggle('SR_setLayerVisibility')" class=ISymbol>setLayerVisibility</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#setLayerVisibility" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#setLayerVisibility" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_setSvgString><div class=IEntry><a href="javascript:searchResults.Toggle('SR_setSvgString')" class=ISymbol>setSvgString</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#setSvgString" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#setSvgString" target=_parent class=IFile>svgcanvas.js</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_save><div class=IEntry><a href="../files/svgcanvas-js.html#save" target=_parent class=ISymbol>save</a></div></div><div class=SRResult id=SR_setCurrentLayer><div class=IEntry><a href="../files/svgcanvas-js.html#setCurrentLayer" target=_parent class=ISymbol>setCurrentLayer</a></div></div><div class=SRResult id=SR_setCurrentLayerPosition><div class=IEntry><a href="../files/svgcanvas-js.html#setCurrentLayerPosition" target=_parent class=ISymbol>setCurrentLayerPosition</a></div></div><div class=SRResult id=SR_setLayerVisibility><div class=IEntry><a href="../files/svgcanvas-js.html#setLayerVisibility" target=_parent class=ISymbol>setLayerVisibility</a></div></div><div class=SRResult id=SR_setSvgString><div class=IEntry><a href="../files/svgcanvas-js.html#setSvgString" target=_parent class=ISymbol>setSvgString</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_createLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_createLayer')" class=ISymbol>createLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#createLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#createLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_clear><div class=IEntry><a href="../files/svgcanvas-js.html#clear" target=_parent class=ISymbol>clear</a></div></div><div class=SRResult id=SR_clearSelection><div class=IEntry><a href="../files/svgcanvas-js.html#clearSelection" target=_parent class=ISymbol>clearSelection</a></div></div><div class=SRResult id=SR_createLayer><div class=IEntry><a href="../files/svgcanvas-js.html#createLayer" target=_parent class=ISymbol>createLayer</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_deleteCurrentLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_deleteCurrentLayer')" class=ISymbol>deleteCurrentLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#deleteCurrentLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#deleteCurrentLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_deleteCurrentLayer><div class=IEntry><a href="../files/svgcanvas-js.html#deleteCurrentLayer" target=_parent class=ISymbol>deleteCurrentLayer</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Functions><div class=IEntry><a href="javascript:searchResults.Toggle('SR_Functions')" class=ISymbol>Functions</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#Functions" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#Functions" target=_parent class=IFile>svgcanvas.js</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Functions><div class=IEntry><a href="../files/svgcanvas-js.html#Functions" target=_parent class=ISymbol>Functions</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getCurrentLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getCurrentLayer')" class=ISymbol>getCurrentLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getCurrentLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getCurrentLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_getLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getLayer')" class=ISymbol>getLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_getLayerVisibility><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getLayerVisibility')" class=ISymbol>getLayerVisibility</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getLayerVisibility" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getLayerVisibility" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_getNumLayers><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getNumLayers')" class=ISymbol>getNumLayers</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getNumLayers" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getNumLayers" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_getSvgString><div class=IEntry><a href="javascript:searchResults.Toggle('SR_getSvgString')" class=ISymbol>getSvgString</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#getSvgString" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#getSvgString" target=_parent class=IFile>svgcanvas.js</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getCurrentLayer><div class=IEntry><a href="../files/svgcanvas-js.html#getCurrentLayer" target=_parent class=ISymbol>getCurrentLayer</a></div></div><div class=SRResult id=SR_getLayer><div class=IEntry><a href="../files/svgcanvas-js.html#getLayer" target=_parent class=ISymbol>getLayer</a></div></div><div class=SRResult id=SR_getLayerVisibility><div class=IEntry><a href="../files/svgcanvas-js.html#getLayerVisibility" target=_parent class=ISymbol>getLayerVisibility</a></div></div><div class=SRResult id=SR_getNumLayers><div class=IEntry><a href="../files/svgcanvas-js.html#getNumLayers" target=_parent class=ISymbol>getNumLayers</a></div></div><div class=SRResult id=SR_getSvgString><div class=IEntry><a href="../files/svgcanvas-js.html#getSvgString" target=_parent class=ISymbol>getSvgString</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -11,7 +11,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_save><div class=IEntry><a href="javascript:searchResults.Toggle('SR_save')" class=ISymbol>save</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#save" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#save" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_setCurrentLayer><div class=IEntry><a href="javascript:searchResults.Toggle('SR_setCurrentLayer')" class=ISymbol>setCurrentLayer</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#setCurrentLayer" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#setCurrentLayer" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_setCurrentLayerPosition><div class=IEntry><a href="javascript:searchResults.Toggle('SR_setCurrentLayerPosition')" class=ISymbol>setCurrentLayerPosition</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#setCurrentLayerPosition" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#setCurrentLayerPosition" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_setLayerVisibility><div class=IEntry><a href="javascript:searchResults.Toggle('SR_setLayerVisibility')" class=ISymbol>setLayerVisibility</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#setLayerVisibility" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#setLayerVisibility" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_setSvgString><div class=IEntry><a href="javascript:searchResults.Toggle('SR_setSvgString')" class=ISymbol>setSvgString</a><div class=ISubIndex><a href="../files/svgcanvas-mine-js.html#setSvgString" target=_parent class=IFile>svgcanvas-mine.js</a><a href="../files/svgcanvas-js.html#setSvgString" target=_parent class=IFile>svgcanvas.js</a></div></div></div><div class=SRResult id=SR_svgcanvas_minmine_perjs><div class=IEntry><a href="../files/svgcanvas-mine-js.html#svgcanvas-mine.js" target=_parent class=ISymbol>svgcanvas-mine.js</a></div></div><div class=SRResult id=SR_svgcanvas_perjs><div class=IEntry><a href="../files/svgcanvas-js.html#svgcanvas.js" target=_parent class=ISymbol>svgcanvas.js</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_save><div class=IEntry><a href="../files/svgcanvas-js.html#save" target=_parent class=ISymbol>save</a></div></div><div class=SRResult id=SR_setCurrentLayer><div class=IEntry><a href="../files/svgcanvas-js.html#setCurrentLayer" target=_parent class=ISymbol>setCurrentLayer</a></div></div><div class=SRResult id=SR_setCurrentLayerPosition><div class=IEntry><a href="../files/svgcanvas-js.html#setCurrentLayerPosition" target=_parent class=ISymbol>setCurrentLayerPosition</a></div></div><div class=SRResult id=SR_setLayerVisibility><div class=IEntry><a href="../files/svgcanvas-js.html#setLayerVisibility" target=_parent class=ISymbol>setLayerVisibility</a></div></div><div class=SRResult id=SR_setSvgString><div class=IEntry><a href="../files/svgcanvas-js.html#setSvgString" target=_parent class=ISymbol>setSvgString</a></div></div><div class=SRResult id=SR_svgcanvas_perjs><div class=IEntry><a href="../files/svgcanvas-js.html#svgcanvas.js" target=_parent class=ISymbol>svgcanvas.js</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");

View File

@ -1320,6 +1320,8 @@ function BatchCommand(text) {
// public events
// Function: clearSelection
// Clears the selection. The 'selected' handler is then called.
this.clearSelection = function() {
if (selectedElements[0] != null) {
var len = selectedElements.length;
@ -1335,6 +1337,13 @@ function BatchCommand(text) {
};
// TODO: do we need to worry about selectedBBoxes here?
// Function: addToSelection
// Adds a list of elements to the selection. The 'selected' handler is then called.
//
// Parameters:
// elemsToAdd - an array of DOM elements to add to the selection
// showGrips - a boolean flag indicating whether the resize grips should be shown
this.addToSelection = function(elemsToAdd, showGrips) {
if (elemsToAdd.length == 0) { return; }
// find the first null in our selectedElements array
@ -1372,8 +1381,14 @@ function BatchCommand(text) {
}
};
// updates the canvas arrays selectedElements and selectedBBoxes
// TODO: could use slice here to make this faster?
// TODO: should the 'selected' handler
// Function: removeFromSelection
// Removes elements from the selection.
//
// Parameters:
// elemsToRemove - an array of elements to remove from selection
this.removeFromSelection = function(elemsToRemove) {
if (selectedElements[0] == null) { return; }
if (elemsToRemove.length == 0) { return; }
@ -3057,9 +3072,9 @@ function BatchCommand(text) {
};
// Function: createLayer
// This function clears the selection and then creates a new top-level layer in the drawing
// with the given name and sets the current layer to it. This function then calls the
// 'changed' handler.
// Creates a new top-level layer in the drawing with the given name, sets the current layer
// to it, and then clears the selection This function then calls the 'changed' handler.
// This is an undoable action.
//
// Parameters:
// name - The given name
@ -3079,8 +3094,8 @@ function BatchCommand(text) {
};
// Function: deleteCurrentLayer
// This function clears the selection and then deletes the current layer from the drawing.
// This function then calls the 'changed' handler.
// Deletes the current layer from the drawing and then clears the selection. This function
// then calls the 'changed' handler. This is an undoable action.
this.deleteCurrentLayer = function() {
if (current_layer && all_layers.length > 1) {
var batchCmd = new BatchCommand("Delete Layer");
@ -3099,7 +3114,7 @@ function BatchCommand(text) {
};
// Function: getNumLayers
// This function returns the number of layers in the current drawing.
// Returns the number of layers in the current drawing.
//
// Returns:
// The number of layers in the current drawing.
@ -3108,8 +3123,7 @@ function BatchCommand(text) {
};
// Function: getLayer
// This function returns the name of the ith layer. If the index is out of range,
// then an empty string is returned.
// Returns the name of the ith layer. If the index is out of range, an empty string is returned.
//
// Parameters:
// i - the zero-based index of the layer you are querying.
@ -3124,8 +3138,8 @@ function BatchCommand(text) {
};
// Function: getCurrentLayer
// This function returns the name of the currently selected layer. If an error occurs,
// an empty string is returned.
// Returns the name of the currently selected layer. If an error occurs, an empty string
// is returned.
//
// Returns:
// The name of the currently active layer.
@ -3139,8 +3153,8 @@ function BatchCommand(text) {
};
// Function: setCurrentLayer
// This function sets the current layer. If the name is not a valid layer name, then this
// function returns false. Otherwise it returns true. This is not an undo-able action.
// Sets the current layer. If the name is not a valid layer name, then this function returns
// false. Otherwise it returns true. This is not an undo-able action.
//
// Parameters:
// name - the name of the layer you want to switch to.
@ -3164,9 +3178,8 @@ function BatchCommand(text) {
};
// Function: renameCurrentLayer
// This function renames the current layer. This is an undo-able action. If the layer name
// is not valid (i.e. unique), then this function does nothing and returns false, otherwise
// it returns true.
// Renames the current layer. If the layer name is not valid (i.e. unique), then this function
// does nothing and returns false, otherwise it returns true. This is an undo-able action.
//
// Parameters:
// newname - the new name you want to give the current layer. This name must be unique
@ -3210,9 +3223,9 @@ function BatchCommand(text) {
};
// Function: setCurrentLayerPosition
// This function changes the position of the current layer to the new value. This is an
// undo-able action. If the new index is not valid, this function does nothing and returns
// false, otherwise it returns true.
// Changes the position of the current layer to the new value. If the new index is not valid,
// this function does nothing and returns false, otherwise it returns true. This is an
// undo-able action.
//
// Parameters:
// newpos - The zero-based index of the new position of the layer. This should be between
@ -3255,8 +3268,8 @@ function BatchCommand(text) {
};
// Function: getLayerVisibility
// This function returns whether the layer is visible. If the layer name is not valid, then
// this function returns false.
// Returns whether the layer is visible. If the layer name is not valid, then this function
// returns false.
//
// Parameters:
// layername - the name of the layer which you want to query.
@ -3277,8 +3290,8 @@ function BatchCommand(text) {
};
// Function: setLayerVisibility
// This function sets the visibility of the layer. This is an undo-able action. If the
// layer name is not valid, this function return false, otherwise it returns true.
// Sets the visibility of the layer. If the layer name is not valid, this function return
// false, otherwise it returns true. This is an undo-able action.
//
// Parameters:
// layername - the name of the layer to change the visibility
@ -3311,8 +3324,8 @@ function BatchCommand(text) {
};
// Function: moveSelectedToLayer
// This function moves the selected elements to layername. This is an undo-able action.
// If the name is not a valid layer name, then false is returned. Otherwise it returns true.
// Moves the selected elements to layername. If the name is not a valid layer name, then false
// is returned. Otherwise it returns true. This is an undo-able action.
//
// Parameters:
// layername - the name of the layer you want to which you want to move the selected elements
@ -3355,6 +3368,8 @@ function BatchCommand(text) {
return $("title",g).text();
};
// Function: clear
// Clears the current document. This is not an undoable action.
this.clear = function() {
current_poly_pts = [];
@ -3384,6 +3399,7 @@ function BatchCommand(text) {
call("cleared");
};
// TODO: should this be an 'internal' function?
this.clearPoly = function(remove) {
if(remove && current_mode == 'poly') {
var elem = svgdoc.getElementById(getId());
@ -3394,6 +3410,7 @@ function BatchCommand(text) {
current_poly_pt = -1;
};
// TODO: should this be an 'internal' function?
this.getNodePoint = function() {
if(current_poly_pt != -1) {
var pt = getPolyPoint(current_poly_pt, true);