diff options
Diffstat (limited to 'js/dojo/dojox/drawing/library')
| -rw-r--r-- | js/dojo/dojox/drawing/library/greek.js | 70 | ||||
| -rw-r--r-- | js/dojo/dojox/drawing/library/icons.js | 165 |
2 files changed, 235 insertions, 0 deletions
diff --git a/js/dojo/dojox/drawing/library/greek.js b/js/dojo/dojox/drawing/library/greek.js new file mode 100644 index 0000000..aefde6c --- /dev/null +++ b/js/dojo/dojox/drawing/library/greek.js @@ -0,0 +1,70 @@ +//>>built +// wrapped by build app +define("dojox/drawing/library/greek", ["dijit","dojo","dojox"], function(dijit,dojo,dojox){ +dojo.provide("dojox.drawing.library.greek"); + +dojox.drawing.library.greek = { + // summary: + // Greek characters used by typesetter and greekPalette. + // description: + // These are used to convert between the character and + // the written version of greek letters. Any character + // can be included here and it will automatically be added + // to the palette and converted by typesetter + + "alpha": 945, //alpha, U+03B1 ISOgrk3 --> + "beta": 946, //beta, U+03B2 ISOgrk3 --> + "gamma": 947, //gamma, U+03B3 ISOgrk3 --> + "delta": 948, //delta, U+03B4 ISOgrk3 --> + "epsilon": 949, //epsilon, U+03B5 ISOgrk3 --> + "zeta": 950, //zeta, U+03B6 ISOgrk3 --> + "eta": 951, //eta, U+03B7 ISOgrk3 --> + "theta": 952, //theta, U+03B8 ISOgrk3 --> + "iota": 953, //iota, U+03B9 ISOgrk3 --> + "kappa": 954, //kappa, U+03BA ISOgrk3 --> + "lambda": 955, //lambda, U+03BB ISOgrk3 --> + "mu": 956, //mu, U+03BC ISOgrk3 --> + "nu": 957, //nu, U+03BD ISOgrk3 --> + "xi": 958, //xi, U+03BE ISOgrk3 --> + "omicron": 959, //omicron, U+03BF NEW --> + "pi": 960, //pi, U+03C0 ISOgrk3 --> + "rho": 961, //rho, U+03C1 ISOgrk3 --> + "sigmaf": 962, //final sigma, U+03C2 ISOgrk3 --> + "sigma": 963, //sigma, U+03C3 ISOgrk3 --> + "tau": 964, //tau, U+03C4 ISOgrk3 --> + "upsilon": 965, //upsilon, U+03C5 ISOgrk3 --> + "phi": 966, //phi, U+03C6 ISOgrk3 --> + "chi": 967, //chi, U+03C7 ISOgrk3 --> + "psi": 968, //psi, U+03C8 ISOgrk3 --> + "omega": 969, //omega, U+03C9 ISOgrk3 --> + "thetasym": 977, //theta symbol, U+03D1 NEW --> + "upsih": 978, // upsilon with hook symbol, U+03D2 NEW --> + "piv": 982, // greek pi symbol, U+03D6 ISOgrk3 --> + "Alpha": 913, // alpha, U+0391 --> + "Beta": 914, // beta, U+0392 --> + "Gamma": 915, //gamma, U+0393 ISOgrk3 --> + "Delta": 916, //delta, U+0394 ISOgrk3 --> + "Epsilon": 917, //epsilon, U+0395 --> + "Zeta": 918, //zeta, U+0396 --> + "Eta": 919, //eta, U+0397 --> + "Theta": 920, //theta, U+0398 ISOgrk3 --> + "Iota": 921, //iota, U+0399 --> + "Kappa": 922, //kappa, U+039A --> + "Lambda": 923, //lambda, U+039B ISOgrk3 --> + "Mu": 924, //mu, U+039C --> + "Nu": 925, //nu, U+039D --> + "Xi": 926, //xi, U+039E ISOgrk3 --> + "Omicron": 927, //omicron, U+039F --> + "Pi": 928, //pi, U+03A0 ISOgrk3 --> + "Rho": 929, //rho, U+03A1 --> + "Sigma": 931, //sigma, U+03A3 ISOgrk3 --> + "Tau": 932, //tau, U+03A4 --> + "Upsilon": 933, //upsilon, U+03A5 ISOgrk3 --> + "Phi": 934, //phi, U+03A6 ISOgrk3 --> + "Chi": 935, //chi, U+03A7 --> + "Psi": 936, //psi, U+03A8 ISOgrk3 --> + "Omega": 937 //omega, U+03A9 ISOgrk3 --> +}; + + +}); diff --git a/js/dojo/dojox/drawing/library/icons.js b/js/dojo/dojox/drawing/library/icons.js new file mode 100644 index 0000000..3fdad19 --- /dev/null +++ b/js/dojo/dojox/drawing/library/icons.js @@ -0,0 +1,165 @@ +//>>built +// wrapped by build app +define("dojox/drawing/library/icons", ["dijit","dojo","dojox"], function(dijit,dojo,dojox){ +dojo.provide("dojox.drawing.library.icons"); + +dojox.drawing.library.icons = { + // summary: + // A collection of icon Stencils for use with the buttons in the ui/Toolbar. + // description: + // Each icon name coresponds to a Stencil or a Plugin. One can be inserted + // into a button by adding the property: 'icon', which points to one of + // these Stencil objects. + line:{ + type:"line", + borderWidth:1, + x1:20, + y1:20, + x2:80, + y2:80 + }, + ellipse:{ + type:"ellipse", + borderWidth:1, + cx:50, + cy:50, + rx:35, + ry:20 + }, + rect:{ + type:"rect", + borderWidth:1, + x:10, + y:30, + width:80, + height:40 + }, + triangle:{ + type:"path", + borderWidth:1, + closePath:true, + points:[{x:50, y:10}, {x:10, y:90}, {x:90, y:90}] + }, + path:{ + type:"path", + borderWidth:0, + closePath:true, + points:[ { x:20, y:80 }, { x:26, y:20 }, { x:80, y:32 }, { x:32, y:50 }, { x:56, y:62 } ] + }, + arrow:{ + type:"path", + borderWidth:1, + closePath:false, + points:[ { x:20, y:20 }, { x:80, y:80 }, { t:'M', x:74, y:56 }, { x:80, y:80 }, { x:56, y:74 } ] + }, + textBlock:{ + type:"path", + borderWidth:0, + closePath:true, + points:[ { x:20, y:20 }, { x:80, y:20 }, { x:80, y:38 }, { x:80, y:38 }, { x:74, y:32 }, { x:68, y:26 }, { x:56, y:20 }, { x:56, y:68 }, { x:56, y:74 }, { x:62, y:80 }, { x:68, y:80 }, { x:68, y:80 }, { x:32, y:80 }, { x:32, y:80 }, { x:38, y:80 }, { x:44, y:74 }, { x:44, y:68 }, { x:44, y:20 }, { x:32, y:26 }, { x:26, y:32 }, { x:20, y:38 }, { x:20, y:38 } ] + }, + + equation:{ + type:"path", + borderWidth:2, + closePath:false, + points:[ {x:20, y:60 }, { x:80, y:60 }, {t:'M', x:20, y:40 }, { x:80, y:40 } ] + }, + + axes:{ + type:"path", + borderWidth:1, + closePath:false, + points:[ { x:20, y:32 }, { x:26, y:20 }, { x:32, y:32 }, { t:'M', x:26, y:20 }, { x:26, y:74 }, { x:80, y:74 }, { t:'M', x:68, y:68 }, { x:80, y:74 }, { x:68, y:80 } ] + }, + vector:{ + type:"path", + borderWidth:1, + closePath:false, + points:[ { x:20, y:80 }, { x:80, y:20 }, { t:'M', x:62, y:26 }, { x:80, y:20 }, { x:73, y:40 }, { t:'M', x:56, y:56 }, { x:62, y:68 }, { x:62, y:74 } ] + }, + pan:{ + type:"path", + borderWidth:1, + closePath:true, + points:[ { x:38, y:80 }, { x:26, y:68 }, { x:20, y:50 }, { x:26, y:44 }, { x:26, y:44 }, { x:38, y:56 }, { x:32, y:32 }, { x:32, y:26 }, { x:38, y:26 }, { x:44, y:44 }, { x:44, y:20 }, { x:50, y:20 }, { x:56, y:20 }, { x:56, y:44 }, { x:56, y:26 }, { x:62, y:26 }, { x:68, y:26 }, { x:68, y:50 }, { x:68, y:32 }, { x:74, y:32 }, { x:80, y:38 }, { x:80, y:50 }, { x:74, y:68 }, { x:68, y:80 } ] + }, + + plus:{ + type:"path", + borderWidth:3, + closePath:false, + points:[ { x:50, y:20 }, { x:50, y:80 }, { t:"M", x:20, y:50 }, { x:80, y:50 } ] + }, + zoomIn:{ + type:"path", + borderWidth:3, + closePath:false, + points:[ { x:50, y:20 }, { x:50, y:80 }, { t:"M", x:20, y:50 }, { x:80, y:50 } ] + }, + zoomOut:{ + type:"path", + borderWidth:3, + closePath:false, + points:[ {x:20, y:50 }, { x:80, y:50 } ] + }, + zoom100:{ + type:"text", + text:"100%" + }, + iconize:{ + type:"path", + borderWidth:0, + closePath:true, + points: + +[ +{ x:20, y:38 }, +{ x:32, y:26 }, +{ x:44, y:26 }, +{ x:56, y:38 }, +{ x:56, y:50 }, +{ x:44, y:62 }, +{ x:32, y:62 }, +{ x:20, y:56 }, +{ t:'Z' }, +{ t:'M', x:38, y:44 }, +{ x:68, y:44 }, +{ x:68, y:80 }, +{ x:38, y:80 }, +{ t:'Z' }, +{ t:'M', x:56, y:62 }, +{ x:68, y:20 }, +{ x:80, y:62 } +] + + }, + pencil:{ + type:"path", + borderWidth:0, + closePath:true, + points: + +[ +{ x:20, y:80 }, +{ x:26, y:68 }, +{ x:68, y:20 }, +{ x:80, y:20 }, +{ x:80, y:32 }, +{ x:38, y:74 }, +{ t:'Z' }, +{ t:'M', x:62, y:32 }, +{ x:68, y:26 }, +{ x:74, y:26 }, +{ x:74, y:32 }, +{ x:68, y:38 }, +{ x:68, y:32 }, +{ t:'Z' }, +{ t:'M', x:56, y:38 }, +{ x:62, y:38 }, +{ x:32, y:68 }, +{ x:32, y:68 } +] + } +}; +}); |
