Lines Matching refs:c

48 mxShapePidFan.prototype.paintVertexShape = function(c, x, y, w, h)  argument
50 c.translate(x, y);
51 this.background(c, x, y, w, h);
52 c.setShadow(false);
53 this.foreground(c, x, y, w, h);
56 mxShapePidFan.prototype.background = function(c, x, y, w, h) argument
58 c.ellipse(0, 0, w, h);
59 c.fillAndStroke();
62 mxShapePidFan.prototype.foreground = function(c, x, y, w, h) argument
64 c.begin();
65 c.moveTo(w * 0.3, h * 0.045);
66 c.lineTo(w * 0.97, h * 0.33);
67 c.moveTo(w * 0.3, h * 0.955);
68 c.lineTo(w * 0.97, h * 0.67);
70 c.moveTo(w * 0.4228, h * 0.3655);
71 c.arcTo(w * 0.15, h * 0.03, 50, 0, 1, w * 0.5, h * 0.5);
72 c.arcTo(w * 0.15, h * 0.03, 50, 0, 1, w * 0.3772, h * 0.4045);
73 c.arcTo(w * 0.15, h * 0.03, 50, 0, 1, w * 0.3025, h * 0.271);
74 c.arcTo(w * 0.15, h * 0.03, 50, 0, 1, w * 0.4228, h * 0.3655);
75 c.close();
77 c.moveTo(w * 0.377, h * 0.5973);
78 c.arcTo(w * 0.15, h * 0.03, -50, 0, 1, w * 0.4966, h * 0.5019);
79 c.arcTo(w * 0.15, h * 0.03, -50, 0, 1, w * 0.423, h * 0.636);
80 c.arcTo(w * 0.15, h * 0.03, -50, 0, 1, w * 0.3034, h * 0.7314);
81 c.arcTo(w * 0.15, h * 0.03, -50, 0, 1, w * 0.377, h * 0.5973);
82 c.close();
83 c.stroke();
85 c.ellipse(w * 0.5, h * 0.47, w * 0.3, h * 0.06);
86 c.stroke();
92 c.begin();
93 c.moveTo(w * 0.1, h * 0.5);
94 c.lineTo(w * 0.3, h * 0.5);
95 c.stroke();
99 c.begin();
100 c.moveTo(w * 0.2, h * 0.4);
101 c.lineTo(w * 0.2, h * 0.6);
102 c.stroke();
160 mxShapePidColumn.prototype.paintVertexShape = function(c, x, y, w, h) argument
162 c.translate(x, y);
163 this.background(c, x, y, w, h);
164 c.setShadow(false);
165 this.foreground(c, x, y, w, h);
168 mxShapePidColumn.prototype.background = function(c, x, y, w, h) argument
172 c.begin();
173 c.moveTo(0, 15);
174 c.arcTo(w * 0.5, 15, 0, 0, 1, w, 15);
175 c.lineTo(w, h - 15);
176 c.arcTo(w * 0.5, 15, 0, 0, 1, 0, h - 15);
177 c.close();
178 c.fillAndStroke();
181 mxShapePidColumn.prototype.foreground = function(c, x, y, w, h) argument
192 c.begin();
196 c.moveTo(0, i + off + step * 0.1);
197 c.lineTo(w, i + off + step * 0.1);
198 c.moveTo(0, i + off + step * 0.9);
199 c.lineTo(w, i + off + step * 0.9);
200 c.moveTo(0, i + off + step * 0.1);
201 c.lineTo(w, i + off + step * 0.9);
202 c.moveTo(0, i + off + step * 0.9);
203 c.lineTo(w, i + off + step * 0.1);
206 c.stroke();
215 c.setDashed(true);
216 c.begin();
220 c.moveTo(0, i + off);
221 c.lineTo(w, i + off);
224 c.stroke();
239 c.setFillColor(strokeColor);
240 c.setDashed(true);
241 c.begin();
242 c.moveTo(0, 25);
243 c.lineTo(w, 25);
244 c.moveTo(0, h - 25);
245 c.lineTo(w, h - 25);
246 c.stroke();
250 c.setDashed(false);
254 c.setDashed(true);
271 c.ellipse(j, i, dot, dot);
272 c.fillAndStroke();
286 c.setDashed(true);
287 c.begin();
288 c.moveTo(0, 25);
289 c.lineTo(w, 25);
290 c.moveTo(0, h - 25);
291 c.lineTo(w, h - 25);
292 c.stroke();
296 c.begin();
304 c.moveTo(0, i);
305 c.lineTo(w * 0.9, i);
306 c.lineTo(w * 0.9, i - stepY * 0.3);
310 c.moveTo(w * 0.1, i - stepY * 0.5);
311 c.lineTo(w * 0.1, i);
312 c.lineTo(w, i);
319 c.stroke();
330 c.setFillColor(strokeColor);
331 c.setDashed(true);
332 c.begin();
333 c.moveTo(0, 25);
334 c.lineTo(w, 25);
335 c.moveTo(0, h - 25);
336 c.lineTo(w, h - 25);
337 c.stroke();
341 c.setDashed(false);
345 c.setDashed(true);
348 c.begin();
352 c.moveTo(0, i);
353 c.lineTo(w * 0.4, i);
357 c.moveTo(w * 0.4, i - stepY * 0.2);
358 c.lineTo(w * 0.6, i - stepY * 0.2);
362 c.moveTo(w * 0.25, i - stepY * 0.2);
363 c.arcTo(stepY * 3, stepY * 3, 0, 0, 1, w * 0.75, i - stepY * 0.2);
366 c.moveTo(w * 0.6, i);
367 c.lineTo(w, i);
370 c.stroke();
383 c.setDashed(true);
385 c.begin();
386 c.moveTo(0, i + off + step * 0.2);
387 c.lineTo(w, i + off + step * 0.2);
388 c.moveTo(0, i + off + step * 0.8);
389 c.lineTo(w, i + off + step * 0.8);
390 c.stroke();
394 c.setDashed(false);
398 c.setDashed(true);
401 c.begin();
402 c.moveTo(0, i + off + step * 0.2);
403 c.lineTo(w, i + off + step * 0.8);
404 c.moveTo(0, i + off + step * 0.8);
405 c.lineTo(w, i + off + step * 0.2);
409 c.moveTo(0, i + off);
410 c.lineTo(w * 0.5, i + off);
411 c.moveTo(w * 0.5 - step * 0.08, i + off + step * 0.08);
412 c.lineTo(w * 0.5, i + off);
413 c.lineTo(w * 0.5 + step * 0.08, i + off + step * 0.08);
414 c.moveTo(w * 0.5, i + off);
415 c.lineTo(w * 0.5, i + off + step * 0.08);
418 c.stroke();
421 c.stroke();
456 mxShapePidConveyor.prototype.paintVertexShape = function(c, x, y, w, h) argument
458 c.translate(x, y);
459 this.background(c, x, y, w, h);
460 c.setShadow(false);
463 mxShapePidConveyor.prototype.background = function(c, x, y, w, h) argument
467 c.begin();
468 c.moveTo(wheelSize * 0.5, 0);
469 c.lineTo(w - wheelSize * 0.5, 0);
470 c.stroke();
472 c.ellipse(0, 0, wheelSize, wheelSize);
473 c.fillAndStroke();
474 c.ellipse(w - wheelSize, 0, wheelSize, wheelSize);
475 c.fillAndStroke();
477 c.begin();
478 c.moveTo(wheelSize * 0.5, wheelSize);
479 c.lineTo(w - wheelSize * 0.5, wheelSize);
480 c.stroke();
490 c.rect(startX + i, 0, wheelSize * 0.2, wheelSize * 0.1);
491 c.fillAndStroke();
492 c.rect(startX + i, wheelSize * 0.9, wheelSize * 0.2, wheelSize * 0.1);
493 c.fillAndStroke();