Home
last modified time | relevance | path

Searched refs:canvas (Results 1 – 25 of 127) sorted by relevance

123456

/plugin/sequencediagram/bower_components/raphael/dev/test/svg/
H A Ddom.js34 equalNodePosition(assert, el.node, paper.canvas, paper.defs, null);
43 equalNodePosition(assert, el.node, paper.canvas, paper.defs, x.node);
53 equalNodePosition(assert, el.node, paper.canvas, x.node, y.node);
122 equalNodePosition(assert, el.node, paper.canvas, paper.defs, null);
131 equalNodePosition(assert, el.node, paper.canvas, x.node, null);
141 equalNodePosition(assert, el.node, paper.canvas, x.node, y.node);
160 equalNodePositionWrapped(assert, el.node, anchor, paper.canvas, x.node, null);
258 equalNodePosition(assert, el.node, paper.canvas, x.node, null);
280 equalNodePosition(assert, el.node, paper.canvas, null, paper.desc);
281 equalNodePosition(assert, x.node, paper.canvas, paper.defs, null);
[all …]
/plugin/dirtylittlehelper/mermaid/editor/src/components/
H A DLinks.svelte13 const canvas = document.createElement('canvas');
16 canvas.width = box.width;
17 canvas.height = box.height;
20 canvas.width = userimagewidth;
25 canvas.height = userimageheight;
27 const context = canvas.getContext('2d');
29 context.fillRect(0, 0, canvas.width, canvas.height);
42 context.drawImage(image, 0, 0, canvas.width, canvas.height);
46 a.href = canvas
59 context.drawImage(image, 0, 0, canvas.width, canvas.height);
[all …]
/plugin/jdraw/src/com/mxgraph/examples/swing/
H A DCustomCanvas.java9 import com.mxgraph.canvas.mxICanvas;
10 import com.mxgraph.canvas.mxImageCanvas;
35 public void drawState(mxICanvas canvas, mxCellState state, in CustomCanvas()
43 && canvas instanceof mxImageCanvas in CustomCanvas()
44 && ((mxImageCanvas) canvas).getGraphicsCanvas() instanceof SwingCanvas) in CustomCanvas()
46 ((SwingCanvas) ((mxImageCanvas) canvas).getGraphicsCanvas()) in CustomCanvas()
51 && canvas instanceof SwingCanvas) in CustomCanvas()
53 ((SwingCanvas) canvas).drawVertex(state, label); in CustomCanvas()
57 super.drawState(canvas, state, drawLabel); in CustomCanvas()
H A DCustomCanvas.java.bak9 import com.mxgraph.canvas.mxICanvas;
10 import com.mxgraph.canvas.mxImageCanvas;
35 public void drawStateWithLabel(mxICanvas canvas, mxCellState state,
38 // Indirection for wrapped swing canvas inside image canvas (used for creating
41 && canvas instanceof mxImageCanvas
42 && ((mxImageCanvas) canvas).getGraphicsCanvas() instanceof SwingCanvas)
44 ((SwingCanvas) ((mxImageCanvas) canvas).getGraphicsCanvas())
49 && canvas instanceof SwingCanvas)
51 ((SwingCanvas) canvas).drawVertex(state, label);
55 super.drawStateWithLabel(canvas, state, label);
/plugin/diagramsnet/lib/plugins/
H A Dsvgdata.js18 exp.drawCellState = function(state, canvas) argument
20 var svgDoc = canvas.root.ownerDocument;
26 var prev = canvas.root;
28 canvas.root = g;
49 canvas.root = prev;
/plugin/statistics/inc/pchart/
H A DpChart.php112 protected $canvas = null; variable in pChart
117 public function __construct($XSize, $YSize, ICanvas $canvas) { argument
127 $this->canvas = $canvas;
213 $this->canvas->drawFilledRectangle(
219 $this->canvas->drawRectangle(
249 $this->canvas->drawLine(
308 $this->canvas->drawLine(
316 $this->canvas->drawLine(
362 $this->canvas
[all...]
H A DPieChart.php80 $this->canvas->drawFilledRoundedRectangle(
91 $this->canvas->drawFilledRoundedRectangle(
107 $this->canvas->drawFilledRectangle(
116 $this->canvas->drawText(
220 $this->canvas->drawFilledPolygon(
227 $this->canvas->drawCircle(
233 $this->canvas->drawCircle(
243 $this->canvas->drawLine(
288 $this->canvas->drawText(
427 $this->canvas
[all...]
/plugin/bpmnio/script/
H A Dbpmnio_render.js25 const canvas = viewer.get("canvas");
26 const bboxViewport = canvas.getActiveLayer().getBBox();
27 const bboxSvg = canvas.getSize();
28 canvas.viewbox({
47 const canvas = activeEditor.get("canvas");
49 const bboxViewport = canvas.getActiveLayer().getBBox();
50 const bboxSvg = canvas.getSize();
51 canvas.viewbox({
/plugin/statdisplay/pchart/
H A DpChart.php113 protected $canvas = null; variable in pChart
128 $this->canvas = $canvas;
396 $this->canvas->drawText($this->FontSize,
683 $this->canvas->drawText($this->FontSize,
797 $this->canvas->drawText($this->FontSize,
1035 $this->canvas->drawText($this->FontSize,
1200 $this->canvas->drawFilledPolygon($Poly,
1252 $this->canvas->drawText($this->FontSize,
1594 $this->canvas->drawLine($lastPoint,
2257 $this->canvas->drawLine(new Point($X1,
[all …]
H A DPieChart.php104 $this->canvas->drawFilledRectangle(new Point($XPos + 10,
111 $this->canvas->drawText($this->FontSize,
212 $this->canvas->drawFilledPolygon($PolyPlots [$Key],
229 $this->canvas->drawLine(new Point($TopPlots [$Key] [$j],
272 $this->canvas->drawText($this->FontSize,
403 $this->canvas->drawFilledPolygon($PolyPlots [$Key],
523 $this->canvas->drawText($this->FontSize,
596 $this->canvas->drawLine($lastPos,
613 $this->canvas->drawFilledPolygon($BotPlots [$Key],
653 $this->canvas->drawFilledPolygon($Plots,
[all …]
/plugin/diagramsnet/lib/js/diagramly/
H A DmxRuler.js105 container.appendChild(canvas);
107 var ctx = canvas.getContext('2d');
112 this.canvas = canvas;
143 ctx.clearRect(0, 0, canvas.width, canvas.height);
223 …gPages.height: bgPages.width), isVertical? canvas.height : canvas.width) : (isVertical? canvas.hei…
239 if (rEnd < canvas.height)
253 if (rEnd < canvas.width)
324 if (canvas.height != newH)
326 canvas.height = newH;
335 if (canvas.width != newW)
[all …]
H A DEditor.js700 var rc = rough.canvas(
810 this.canvas = canvas;
815 this.canvas.setLineJoin('round');
816 this.canvas.setLineCap('round');
821 this.originalEnd = this.canvas.end;
905 style.fill = this.canvas.state.fillColor === 'none' ? '' : this.canvas.state.fillColor;
906 gradient = this.canvas.state.gradientColor === 'none' ? null : this.canvas.state.gradientColor;
979 var s = this.canvas.state;
2742 canvas.width = img.width;
3444 callback(canvas, svgRoot);
[all …]
/plugin/stlviewer/stlviewer/
H A Dwebgl_detector.js3 canvas: !! window.CanvasRenderingContext2D, property in webgl_Detector
4 webgl: ( function () { try { var canvas = document.createElement( 'canvas' ); return !! window.WebGLRenderingContext && ( canvas.getContext( 'webgl' ) || canvas.getContext( 'experimental-webgl' ) ); } catch( e ) { return false; } } )(),
H A DCanvasRenderer.js46 _canvas = parameters.canvas !== undefined
47 ? parameters.canvas
48 : document.createElement( 'canvas' ),
542 if ( pattern.canvas !== undefined ) {
544 setFillStyle( pattern.canvas );
841 canvas: undefined,
852 canvas: undefined,
866 var canvas = document.createElement( 'canvas' );
867 canvas
[all...]
/plugin/block/
H A Dscript.js127 var canvas = document.createElement("canvas");
128 var context = canvas.getContext("2d");
146 delete canvas;
/plugin/sequencediagram/bower_components/raphael/dev/
H A Draphael.svg.js722 SVG.canvas && SVG.canvas.appendChild(el);
1210 svg.canvas && svg.canvas.appendChild(el);
1219 svg.canvas && svg.canvas.appendChild(el);
1228 svg.canvas && svg.canvas.appendChild(el);
1239 svg.canvas && svg.canvas.appendChild(el);
1247 svg.canvas && svg.canvas.appendChild(el);
1312 container.canvas = cnvs;
1337 $(this.canvas, {
1362 var cnvs = this.canvas,
1391 var c = this.canvas;
[all …]
/plugin/s5reloaded/ui/thesis/
H A Dslides.js25 var canvas = new Array(); variable
1439 for (d in canvas) {
1454 if(canvas[obj]) {
1470 if(canvas[obj]) {
1486 if(canvas[obj]) {
1958 if(canvas.getContext) {
2032 canvas.parentNode.removeChild(canvas.parentNode.lastChild);
2035 if(canvas.getContext) {
2195 if(canvas.getContext) {
2205 canvas.parentNode.removeChild(canvas.parentNode.lastChild);
[all …]
/plugin/aimg/
H A Dstyle.css16 The overall canvas: added in fnclient-0.5.0 to provide a canvas works space to be able to place
20 .fn-canvas {
/plugin/amcharts/assets/amcharts/plugins/export/libs/fabric.js/
H A Dfabric.min.js2canvas,property){if(canvas[property]&&canvas[property].toSVG){markup.push('<pattern x="0" y="0" id… argument
4canvas=this;obj.setCoords();this.fire("object:added",{target:obj});obj.fire("added")},_onObjectRem… argument
5canvas.contextTop,v=this.canvas.viewportTransform,p1=this._points[0],p2=this._points[1];ctx.save()… argument
6canvas:this})},_groupSelectedObjects:function(e){var group=this._collectObjects();if(group.length=…
8canvas.sendToBack(this)}return this},bringToFront:function(){if(this.group){fabric.StaticCanvas.pr…
11canvas&&this.canvas.fire("text:selection:changed",{target:this});this.selectionStart=index}this._u…
13canvas.contextTop){ctx=this.canvas.contextTop;ctx.save();ctx.transform.apply(ctx,this.canvas.viewp… argument
15canvas){fabric.util.addListener(this.canvas.upperCanvasEl,"click",this.onClick.bind(this));this._c…
H A Dfabric.js3419 if (canvas[property] && canvas[property].toSVG) {
7361 this.canvas = canvas;
7586 this.canvas = canvas;
7614 this.canvas.clearContext(this.canvas.contextTop);
7652 group.canvas = this.canvas;
7741 this.canvas = canvas;
7801 group.canvas = this.canvas;
21677 this.canvas && this.canvas.clearContext(this.canvas.contextTop || this.ctx);
22052 this.canvas && this.canvas.renderAll();
22580 this.canvas && this.canvas.renderAll();
[all …]
/plugin/combo/resources/theme/default/pages/templates/
H A Dlanding.yml5 layout: 'off-canvas'
/plugin/sketchcanvas/script/
H A DSketchCanvas.js1 /// @brief The SketchCanvas class accepts a canvas object to draw on.
2 /// @param canvas The canvas to draw the figure to.
4 /// editmode: The canvas is used for editing when true.
13 /// This event is invoked when the canvas saves its contents into localStorage of the
26 export function SketchCanvas(canvas, options){
49 // Check existence of canvas element and treating not compatible browsers
50 if ( ! canvas || ! canvas.getContext ) {
56 canvas
22 SketchCanvas(canvas, options) global() argument
[all...]
/plugin/achart/assets/
H A Dapexcharts.css1 .apexcharts-canvas {
9 .apexcharts-canvas ::-webkit-scrollbar {
14 .apexcharts-canvas ::-webkit-scrollbar-thumb {
480 .apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,
481 .apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
482 .apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {
588 .apexcharts-canvas:hover .apexcharts-toolbar {
614 .apexcharts-canvas .apexcharts-element-hidden {
/plugin/diagramsnet/lib/js/diagramly/util/
H A DmxAsyncCanvas.js196 onrendered: mxUtils.bind(this, function(canvas) argument
198 this.htmlCanvas.subCanvas[canvasIndex] = canvas;
/plugin/impressjs/tpl/dokuwiki/
H A Dimpress.js261 var canvas = document.createElement("div"); variable
359 canvas.appendChild( el );
361 root.appendChild(canvas);
384 css(canvas, rootStyles);
505 css(canvas, {

123456