From 8e529734b561f0d50d1abf853fc5b985477d94ec Mon Sep 17 00:00:00 2001 From: ASP1234 Date: Mon, 11 Jul 2016 10:17:07 +0000 Subject: Implement TEXT_f Block --- data_structures_correct/TEXT_f.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 data_structures_correct/TEXT_f.js (limited to 'data_structures_correct/TEXT_f.js') 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; + } +} -- cgit