Lines Matching refs:c

35 mxShapeEipMessageExpiration.prototype.paintVertexShape = function(c, x, y, w, h)  argument
37 c.translate(x, y);
38 this.background(c, x, y, w, h);
41 mxShapeEipMessageExpiration.prototype.background = function(c, x, y, w, h) argument
43 c.ellipse(0, 0, w, h);
44 c.stroke();
46 c.setStrokeColor("#808080");
47 c.begin();
48 c.moveTo(w * 0.5, h * 0.1);
49 c.lineTo(w * 0.5, h * 0.5);
50 c.lineTo(w * 0.6, h * 0.8);
51 c.stroke();
101 mxShapeEipReturnAddress.prototype.paintVertexShape = function(c, x, y, w, h) argument
103 c.translate(x, y);
104 this.background(c, x, y, w, h);
105 c.setShadow(false);
106 this.foreground(c, x, y, w, h);
109 mxShapeEipReturnAddress.prototype.background = function(c, x, y, w, h) argument
111 c.rect(0, 0, w, h);
112 c.fillAndStroke();
115 mxShapeEipReturnAddress.prototype.foreground = function(c, x, y, w, h) argument
117 c.begin();
118 c.moveTo(w * 0.05, h * 0.11);
119 c.lineTo(w * 0.25, h * 0.11);
120 c.moveTo(w * 0.05, h * 0.18);
121 c.lineTo(w * 0.25, h * 0.18);
122 c.moveTo(w * 0.05, h * 0.25);
123 c.lineTo(w * 0.25, h * 0.25);
125 c.setStrokeWidth(2);
126 c.moveTo(w * 0.3, h * 0.63);
127 c.lineTo(w * 0.8, h * 0.63);
128 c.moveTo(w * 0.3, h * 0.72);
129 c.lineTo(w * 0.8, h * 0.72);
130 c.moveTo(w * 0.3, h * 0.80);
131 c.lineTo(w * 0.8, h * 0.80);
132 c.stroke();
134 c.setFillColor("#EDEDED");
135 c.rect(w * 0.8, h * 0.1, w * 0.12, h * 0.19);
136 c.fillAndStroke();
194 mxShapeEipAnchor.prototype.paintVertexShape = function(c, x, y, w, h) argument
229 mxShapeEipMessageChannel.prototype.paintVertexShape = function(c, x, y, w, h) argument
231 c.translate(x, y);
232 this.background(c, x, y, w, h);
233 c.setShadow(false);
234 this.foreground(c, x, y, w, h);
237 mxShapeEipMessageChannel.prototype.background = function(c, x, y, w, h) argument
239 c.setGradient('#e6e6e6', '#808080', 0, 0, w, h, mxConstants.DIRECTION_SOUTH, 1, 1);
240 c.begin();
241 c.moveTo(8, h * 0.5 + 10);
242 c.arcTo(12, 12, 0, 0, 1, 8, h * 0.5 - 10);
243 c.lineTo(w - 8, h * 0.5 - 10);
244 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 + 10);
245 c.close();
246 c.fillAndStroke();
249 mxShapeEipMessageChannel.prototype.foreground = function(c, x, y, w, h) argument
251 c.setFillColor('#e6e6e6');
252 c.begin();
253 c.moveTo(w - 8, h * 0.5 - 10);
254 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 + 10);
255 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 - 10);
256 c.fillAndStroke();
311 mxShapeEipDatatypeChannel.prototype.paintVertexShape = function(c, x, y, w, h) argument
313 c.translate(x, y);
314 this.background(c, x, y, w, h);
315 c.setShadow(false);
316 this.foreground(c, x, y, w, h);
319 mxShapeEipDatatypeChannel.prototype.background = function(c, x, y, w, h) argument
321 c.setGradient('#e6e6e6', '#808080', 0, 0, w, h, mxConstants.DIRECTION_SOUTH, 1, 1);
322 c.begin();
323 c.moveTo(8, h * 0.5 + 10);
324 c.arcTo(12, 12, 0, 0, 1, 8, h * 0.5 - 10);
325 c.lineTo(w - 8, h * 0.5 - 10);
326 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 + 10);
327 c.close();
328 c.fillAndStroke();
331 mxShapeEipDatatypeChannel.prototype.foreground = function(c, x, y, w, h) argument
333 c.setFillColor('#e6e6e6');
334 c.begin();
335 c.moveTo(w - 8, h * 0.5 - 10);
336 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 + 10);
337 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 - 10);
338 c.fillAndStroke();
340 c.setFillColor("#fffbc0");
341 c.setStrokeWidth("1");
345 c.rect(i * 20, h * 0.5 - 5, 10, 10);
346 c.fillAndStroke();
401 mxShapeEipDeadLetterChannel.prototype.paintVertexShape = function(c, x, y, w, h) argument
403 c.translate(x, y);
404 this.background(c, x, y, w, h);
405 c.setShadow(false);
406 this.foreground(c, x, y, w, h);
409 mxShapeEipDeadLetterChannel.prototype.background = function(c, x, y, w, h) argument
411 c.setGradient('#e6e6e6', '#808080', 0, 0, w, h, mxConstants.DIRECTION_SOUTH, 1, 1);
412 c.begin();
413 c.moveTo(8, h * 0.5 + 10);
414 c.arcTo(12, 12, 0, 0, 1, 8, h * 0.5 - 10);
415 c.lineTo(w - 8, h * 0.5 - 10);
416 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 + 10);
417 c.close();
418 c.fillAndStroke();
421 mxShapeEipDeadLetterChannel.prototype.foreground = function(c, x, y, w, h) argument
423 c.setFillColor('#e6e6e6');
424 c.begin();
425 c.moveTo(w - 8, h * 0.5 - 10);
426 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 + 10);
427 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 - 10);
428 c.fillAndStroke();
430 c.setFillColor("#ff0000");
431 c.setStrokeWidth("1");
432 c.begin();
433 c.moveTo(w * 0.5 - 6, h * 0.5 - 3);
434 c.lineTo(w * 0.5 - 3, h * 0.5 - 6);
435 c.lineTo(w * 0.5 + 3, h * 0.5 - 6);
436 c.lineTo(w * 0.5 + 6, h * 0.5 - 3);
437 c.lineTo(w * 0.5 + 6, h * 0.5 + 3);
438 c.lineTo(w * 0.5 + 3, h * 0.5 + 6);
439 c.lineTo(w * 0.5 - 3, h * 0.5 + 6);
440 c.lineTo(w * 0.5 - 6, h * 0.5 + 3);
441 c.close();
442 c.fillAndStroke();
444 c.setStrokeWidth("2");
445 c.setStrokeColor("#ffffff");
446 c.begin();
447 c.moveTo(w * 0.5 - 4, h * 0.5);
448 c.lineTo(w * 0.5 + 4, h * 0.5);
449 c.stroke();
503 mxShapeEipInvalidMessageChannel.prototype.paintVertexShape = function(c, x, y, w, h) argument
505 c.translate(x, y);
506 this.background(c, x, y, w, h);
507 c.setShadow(false);
508 this.foreground(c, x, y, w, h);
511 mxShapeEipInvalidMessageChannel.prototype.background = function(c, x, y, w, h) argument
513 c.setGradient('#e6e6e6', '#808080', 0, 0, w, h, mxConstants.DIRECTION_SOUTH, 1, 1);
514 c.begin();
515 c.moveTo(8, h * 0.5 + 10);
516 c.arcTo(12, 12, 0, 0, 1, 8, h * 0.5 - 10);
517 c.lineTo(w - 8, h * 0.5 - 10);
518 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 + 10);
519 c.close();
520 c.fillAndStroke();
523 mxShapeEipInvalidMessageChannel.prototype.foreground = function(c, x, y, w, h) argument
525 c.setFillColor('#e6e6e6');
526 c.begin();
527 c.moveTo(w - 8, h * 0.5 - 10);
528 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 + 10);
529 c.arcTo(12, 12, 0, 0, 1, w - 8, h * 0.5 - 10);
530 c.fillAndStroke();
532 c.setFillColor("#ffe040");
533 c.setStrokeWidth("1");
534 c.begin();
535 c.moveTo(w * 0.5 - 6, h * 0.5 + 5);
536 c.lineTo(w * 0.5, h * 0.5 - 5);
537 c.lineTo(w * 0.5 + 6, h * 0.5 + 5);
538 c.close();
539 c.fillAndStroke();
541 c.setStrokeWidth("1");
542 c.begin();
543 c.moveTo(w * 0.5, h * 0.5 - 2);
544 c.lineTo(w * 0.5, h * 0.5 + 2);
545 c.moveTo(w * 0.5, h * 0.5 + 3);
546 c.lineTo(w * 0.5, h * 0.5 + 4);
547 c.stroke();