[svg-edit] r2878 committed - Edited wiki page ExtensionDocs through web user interface.

0 views
Skip to first unread message

svg-...@googlecode.com

unread,
Jun 1, 2014, 5:39:06 PM6/1/14
to svg-edi...@googlegroups.com
Revision: 2878
Author: bre...@gmail.com
Date: Sun Jun 1 21:38:45 2014 UTC
Log: Edited wiki page ExtensionDocs through web user interface.
http://code.google.com/p/svg-edit/source/detail?r=2878

Modified:
/wiki/ExtensionDocs.wiki

=======================================
--- /wiki/ExtensionDocs.wiki Sun Jun 1 21:36:54 2014 UTC
+++ /wiki/ExtensionDocs.wiki Sun Jun 1 21:38:45 2014 UTC
@@ -138,11 +138,9 @@
=== svgEditor public methods ==

|| *Name* || *Description* || *Params* || *Return value* ||
-|| setCustomHandlers() || Override default SVG open, save, and export
behaviors || Accepts object with all optional properties, "open", "save",
and "exportImage"; "open" is not passed any parameters; "saved" is passed a
string containing the SVG; "exportImage" is passed an object containing the
properties: "svg" with the SVG contents as a string, "datauri" with the
contents as a data URI, "issues" with an array of UI strings pertaining to
relevant known CanVG issues, "type" indicating the chosen image type
("PNG", "JPEG", "BMP", "WEBP") (or, as planned for 3.0.0, "PDF" type),
and "quality" as a decimal between 0 and 1 (for use with JPEG or WEBP) ||
(None) ||
+|| setCustomHandlers() || Override default SVG open, save, and export
behaviors || Accepts object with all optional properties, "open", "save",
and "exportImage"; "open" is not passed any parameters; "saved" is passed a
string containing the SVG; "exportImage" is passed an object containing the
properties: "svg" with the SVG contents as a string, "datauri" with the
contents as a data URI, "issues" with an array of UI strings pertaining to
relevant known CanVG issues, "type" indicating the chosen image type
("PNG", "JPEG", "BMP", "WEBP") (or, as planned for 3.0.0, "PDF"
type), "mimeType" for the MIME type, "exportWindowName" as a convenience
for passing along a window.name to target a window on which the export
could be added, and "quality" as a decimal between 0 and 1 (for use with
JPEG or WEBP) || (None) ||
|| ... || ... || ... || ... ||

-issues: issues, type: imgType, mimeType: mimeType, quality: quality,
exportWindowName: exportWindowName
-

=== svgCanvas private methods ==

Reply all
Reply to author
Forward
0 new messages