diff options
author | Adhitya Kamakshidasan | 2016-07-11 19:42:27 +0530 |
---|---|---|
committer | GitHub | 2016-07-11 19:42:27 +0530 |
commit | f1a66d584eafe7882f90998f18d31669fc668026 (patch) | |
tree | e27fbe02cb75748e0699bdbb10d71721ba440266 /data_structures_correct/TEXT_f.js | |
parent | 41f8bd25b33eedd0b255cbc5449bab16cf3c957f (diff) | |
parent | 7cc3439659f36f12e9f2d236a941b1eeea94dc40 (diff) | |
download | xcos-on-web-f1a66d584eafe7882f90998f18d31669fc668026.tar.gz xcos-on-web-f1a66d584eafe7882f90998f18d31669fc668026.tar.bz2 xcos-on-web-f1a66d584eafe7882f90998f18d31669fc668026.zip |
Merge pull request #163 from ASP1234/master
Implement Blocks and dependency fn
Diffstat (limited to 'data_structures_correct/TEXT_f.js')
-rw-r--r-- | data_structures_correct/TEXT_f.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/data_structures_correct/TEXT_f.js b/data_structures_correct/TEXT_f.js new file mode 100644 index 0000000..cb5a481 --- /dev/null +++ b/data_structures_correct/TEXT_f.js @@ -0,0 +1,25 @@ +function TEXT_f() { + + TEXT_f.prototype.define = function TEXT_f() { + this.font = 2; + this.siz = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["text"]); + model.rpar = new ScilabString(["Text"]); + model.ipar = new ScilabDouble([this.font], [this.siz]); + + var exprs = ["Text", this.font, this.siz]; + + var graphics = scicos_graphics(); + graphics.orig = new ScilabDouble([0, 0]); + graphics.sz = new ScilabDouble([2, 1]); + graphics.exprs = new ScilabString(exprs); + this.x = mlist(["Text", "graphics", "model", "void", "gui"], new ScilabString(["Text", "graphics", "model", "void", "gui"]), graphics, model, new ScilabString([" "]), new ScilabString(["TEXT_f"])); + return new TextBlock(this.x); + } + + TEXT_f.prototype.details = function TEXT_f() { + return this.x; + } +} |