Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 209) sorted by relevance

123456789

/plugin/sketchcanvas/script/
Ddraw.js6 function l_arrow(ctx, arr) { argument
8 ctx.moveTo(arr[0].x, arr[0].y);
9 ctx.lineTo(arr[1].x, arr[1].y);
10 ctx.lineTo(arr[1].x-c[0].x, arr[1].y-c[0].y);
11 ctx.moveTo(arr[1].x, arr[1].y);
12 ctx.lineTo(arr[1].x-c[1].x, arr[1].y-c[1].y);
13 ctx.stroke();
17 function l_darrow(ctx, arr) { argument
20 ctx.moveTo(arr[0].x+c[0].x, arr[0].y+c[0].y);
21 ctx.lineTo(arr[1].x+c[0].x, arr[1].y+c[0].y);
[all …]
DSketchCanvas.js68 ctx = canvas.getContext('2d');
72 if(!ctx.setLineDash) {
73 ctx.setLineDash = function(){};
80 ctx.fillStyle = 'rgb(127,127,127)';
81 ctx.beginPath();
82 ctx.moveTo(mx0, my0 + mh0 / 2);
83 ctx.lineTo(mx0 + aw, my0);
84 ctx.lineTo(mx0 + aw, my0 + mh0);
85 ctx.closePath();
86 ctx.fill();
[all …]
/plugin/diagramsnet/lib/js/diagramly/util/
DmxJsCanvas.js20 this.ctx = canvas.getContext('2d');
21 this.ctx.textBaseline = 'top';
22 this.ctx.fillStyle = 'rgba(255,255,255,0)';
23 this.ctx.strokeStyle = 'rgba(0, 0, 0, 0)';
43 mxJsCanvas.prototype.ctx = null; method in mxJsCanvas
125 this.ctx.font = style + this.state.fontSize + 'px ' + this.state.fontFamily;
132 this.ctx.save();
138 this.ctx.restore();
145 this.ctx.scale(s, s);
152 this.ctx.translate(dx, dy);
[all …]
/plugin/indexmenu/scripts/fancytree/modules/
Djquery.fancytree.table.js102 treeInit: function (ctx) { argument
107 tree = ctx.tree,
108 opts = ctx.options,
223 nodeRemoveChildMarkup: function (ctx) { argument
224 var node = ctx.node;
233 nodeRemoveMarkup: function (ctx) { argument
234 var node = ctx.node;
240 this.nodeRemoveChildMarkup(ctx);
243 nodeRender: function (ctx, force, deep, collapsed, _recursive) { argument
252 tree = ctx.tree,
[all …]
Djquery.fancytree.logger.js110 ctx = args[0],
111 opts = ctx.options.logger,
112 obj = ctx.node || ctx.tree,
133 logLine(logName, extra, ctx);
136 logLine(logName, ctx);
160 treeCreate: function (ctx) { argument
161 var tree = ctx.tree,
162 opts = ctx.options;
208 ctx.widget
217 nodeClick: function (ctx) { argument
[all …]
Djquery.fancytree.menu.js53 treeInit: function (ctx) { argument
54 var opts = ctx.options,
55 tree = ctx.tree;
74 ctx = { variable
80 tree.ext.menu._openMenu(ctx);
108 tree.ext.menu._closeMenu(ctx);
114 treeDestroy: function (ctx) { argument
117 _openMenu: function (ctx) { argument
119 tree = ctx.tree,
120 opts = ctx.options,
[all …]
Djquery.fancytree.multi.js51 treeInit: function (ctx) { argument
54 if (ctx.options.selectMode === 1) {
60 nodeClick: function (ctx) { argument
62 tree = ctx.tree,
63 node = ctx.node,
65 isCbClick = ctx.targetType === "checkbox",
66 isExpanderClick = ctx.targetType === "expander",
67 eventStr = $.ui.fancytree.eventToString(ctx.originalEvent);
104 nodeKeydown: function (ctx) { argument
105 var tree = ctx.tree,
[all …]
Djquery.fancytree.grid.js523 treeInit: function (ctx) { argument
529 tree = ctx.tree,
530 opts = ctx.options,
684 nodeKeydown: function (ctx) { argument
687 tree = ctx.tree,
688 node = ctx.node,
692 event = ctx.originalEvent,
722 nodeRemoveChildMarkup: function (ctx) { argument
723 var node = ctx.node;
733 nodeRemoveMarkup: function (ctx) { argument
[all …]
Djquery.fancytree.childcounter.js182 treeInit: function (ctx) { argument
184 opts = ctx.options,
185 extOpts = ctx.options.childcounter;
197 treeDestroy: function (ctx) { argument
202 nodeRenderTitle: function (ctx, title) { argument
203 var node = ctx.node,
204 extOpts = ctx.options.childcounter,
212 this._super(ctx, title);
227 nodeSetExpanded: function (ctx, flag, callOpts) { argument
228 var tree = ctx.tree,
[all …]
Djquery.fancytree.clones.js373 treeCreate: function (ctx) { argument
375 ctx.tree.refMap = {};
376 ctx.tree.keyMap = {};
378 treeInit: function (ctx) { argument
380 _assert(ctx.options.defaultKey == null);
382 ctx.options.defaultKey = function (node) { method
388 treeClear: function (ctx) { argument
389 ctx.tree.refMap = {};
390 ctx.tree.keyMap = {};
393 treeRegisterNode: function (ctx, add, node) { argument
[all …]
Djquery.fancytree.columnview.js49 treeInit: function (ctx) { argument
52 tree = ctx.tree,
149 nodeSetExpanded: function (ctx, flag, callOpts) { argument
151 node = ctx.node,
152 tree = ctx.tree,
163 nodeRemoveChildren: function (ctx) { argument
165 $(ctx.node.span).find("span.fancytree-cv-right").remove();
167 ctx.tree.$tdList.eq(ctx.node.getLevel()).nextAll().empty();
170 nodeRender: function (ctx, force, deep, collapsed, _recursive) { argument
172 this._super(ctx, force, deep, collapsed, _recursive);
[all …]
Djquery.fancytree.edit.js326 treeInit: function (ctx) { argument
327 var tree = ctx.tree;
343 nodeClick: function (ctx) { argument
344 var eventStr = $.ui.fancytree.eventToString(ctx.originalEvent),
345 triggerStart = ctx.options.edit.triggerStart;
351 if (ctx.originalEvent.shiftKey) {
352 ctx.node.editStart();
362 ctx.node.isActive() &&
363 !ctx.node.isEditing() &&
364 $(ctx.originalEvent.target).hasClass("fancytree-title")
[all …]
Djquery.fancytree.themeroller.js50 treeInit: function (ctx) { argument
51 var $el = ctx.widget.element,
52 opts = ctx.options.themeroller;
78 treeDestroy: function (ctx) { argument
80 ctx.widget.element.removeClass(
84 nodeRenderStatus: function (ctx) { argument
86 node = ctx.node,
88 opts = ctx.options.themeroller;
90 this._super(ctx);
Djquery.fancytree.js2761 var ctx, tree;
2767 ctx = obj;
2771 ctx = { variable
2781 ctx = { variable
2792 $.extend(ctx, extra);
2794 return ctx;
2804 var ctx = this._makeHookContext(contextObject),
2810 args.unshift(ctx);
3593 opts.callback = function (ctx, node, status) { argument
3595 callback.call(ctx, node, status);
[all …]
Djquery.fancytree.fixed.js68 treeInit: function (ctx) { argument
73 tree = ctx.tree,
143 ctx = tree._makeHookContext(node || tree, evt),
144 res = tree._callHook("nodeKeydown", ctx);
152 ctx = tree._makeHookContext(node, evt),
160 ctx.targetType = et.type;
165 ctx,
170 return tree._triggerNodeEvent("click", ctx, evt) ===
173 : tree._callHook("nodeClick", ctx);
175 ctx.targetType = et.type;
[all …]
Djquery.fancytree.gridnav.js137 treeInit: function (ctx) { argument
151 ctx2 = ctx.tree._makeHookContext(node, event);
152 ctx.tree._callHook("nodeSetActive", ctx2, true);
156 nodeSetActive: function (ctx, flag, callOpts) { argument
158 opts = ctx.options.gridnav,
159 node = ctx.node,
160 event = ctx.originalEvent || {},
168 if (ctx.options.titlesTabbable) {
174 ctx.tree.$container.attr("tabindex", "-1");
184 nodeKeydown: function (ctx) { argument
[all …]
Djquery.fancytree.ariagrid.js299 treeInit: function (ctx) { argument
300 var tree = ctx.tree,
301 treeOpts = ctx.options,
401 nodeClick: function (ctx) { argument
402 var targetType = ctx.targetType,
403 tree = ctx.tree,
404 node = ctx.node,
405 event = ctx.originalEvent,
437 nodeDblclick: function (ctx) { argument
438 var tree = ctx.tree,
[all …]
/plugin/s5reloaded/ui/thesis/
Dslides.js1671 function roundedRect(ctx,x,y,width,height,radius){ argument
1672 ctx.beginPath();
1673 ctx.moveTo(x,y+radius);
1674 ctx.lineTo(x,y+height-radius);
1675 ctx.quadraticCurveTo(x,y+height,x+radius,y+height);
1676 ctx.lineTo(x+width-radius,y+height);
1677 ctx.quadraticCurveTo(x+width,y+height,x+width,y+height-radius);
1678 ctx.lineTo(x+width,y+radius);
1679 ctx.quadraticCurveTo(x+width,y,x+width-radius,y);
1680 ctx.lineTo(x+radius,y);
[all …]
/plugin/codemirror/dist/modes/
Dcommonlisp.min.js1ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:h}},token:function(b,d){if(b.sol()&&type…
Dclojure.min.js1ctx:{prev:null,start:0,indentTo:0},lastToken:null,tokenize:o}},token:function(a,c){if(a.sol()&&typ…
Dr.min.js1ctx.argList){return"arg-is"}else if(l.test(c)){if(c=="$")return"operator dollar";a.eatWhile(l);ret…
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/PredictionContexts/
H A DPredictionContextCache.php29 public function add(PredictionContext $ctx) : PredictionContext argument
31 if ($ctx === PredictionContext::empty()) {
32 return $ctx;
35 $existing = $this->cache->get($ctx);
41 $this->cache->put($ctx, $ctx);
43 return $ctx;
46 public function get(PredictionContext $ctx) : ?PredictionContext argument
48 return $this->cache->get($ctx);
/plugin/diagramsnet/lib/js/diagramly/
DmxRuler.js107 var ctx = canvas.getContext('2d');
119 ctx.beginPath();
120 ctx.moveTo(x1 + 0.5, y1 + 0.5);
121 ctx.lineTo(x2 + 0.5, y2 + 0.5);
122 ctx.stroke();
128 ctx.save();
129 ctx.translate(x1, y1);
130 ctx.rotate(-Math.PI / 2);
131 ctx.fillText(text, 0, 0);
132 ctx.restore();
[all …]
/plugin/indexmenu/scripts/fancytree/
Djquery.fancytree-all.js2761 var ctx, tree;
2767 ctx = obj;
2771 ctx = { variable
2781 ctx = { variable
2792 $.extend(ctx, extra);
2794 return ctx;
2804 var ctx = this._makeHookContext(contextObject),
2810 args.unshift(ctx);
3593 opts.callback = function (ctx, node, status) { argument
3595 callback.call(ctx, node, status);
[all …]
Djquery.fancytree-all-deps.js4222 var ctx, tree;
4228 ctx = obj;
4232 ctx = { variable
4242 ctx = { variable
4253 $.extend(ctx, extra);
4255 return ctx;
4265 var ctx = this._makeHookContext(contextObject),
4271 args.unshift(ctx);
5054 opts.callback = function (ctx, node, status) { argument
5056 callback.call(ctx, node, status);
[all …]

123456789