(glyph, path)
| 5317 | } |
| 5318 | var check = { fail, argument, assert: argument }; |
| 5319 | function getPathDefinition(glyph, path) { |
| 5320 | var _path = path || new Path(); |
| 5321 | return { |
| 5322 | configurable: true, |
| 5323 | get: function() { |
| 5324 | if (typeof _path === "function") { |
| 5325 | _path = _path(); |
| 5326 | } |
| 5327 | return _path; |
| 5328 | }, |
| 5329 | set: function(p) { |
| 5330 | _path = p; |
| 5331 | } |
| 5332 | }; |
| 5333 | } |
| 5334 | function Glyph(options) { |
| 5335 | this.bindConstructorValues(options); |
| 5336 | } |