Lines Matching refs:c

39 mxShapeMockupBreadcrumb.prototype.paintVertexShape = function(c, x, y, w, h)  argument
60 c.translate(x, y);
61 c.setShadow(false);
63 this.separators(c, trueW, trueH, buttonNum, buttonWidths, labelOffset, minW, separatorColor);
70 c.setFontColor(selectedFontColor);
74 c.setFontColor(fontColor);
78 this.buttonText(c, currWidth, trueH, textStrings[i], buttonWidths[i], fontSize, minW, trueW);
83 mxShapeMockupBreadcrumb.prototype.separators = function(c, w, h, buttonNum, buttonWidths, labelOffs… argument
86 c.setStrokeColor(separatorColor);
89 c.begin();
101 c.moveTo(currWidth - size * 0.5, midY - size);
102 c.lineTo(currWidth + size * 0.5, midY);
103 c.lineTo(currWidth - size * 0.5, midY + size);
105 c.stroke();
108 mxShapeMockupBreadcrumb.prototype.buttonText = function(c, w, h, textString, buttonWidth, fontSize,… argument
110 c.begin();
111 c.setFontSize(fontSize);
112c.text((w + buttonWidth * 0.5) * trueW / minW, h * 0.5, 0, 0, textString, mxConstants.ALIGN_CENTER…
158 mxShapeMockupStepBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
190 c.translate(x, y);
192 …this.stepLineBg(c, trueW, trueH, buttonNum, buttonWidths, labelOffset, minW, bgColor, fontSize, tr…
193 c.setShadow(false);
195 …this.stepLineFg(c, trueW, trueH, buttonNum, buttonWidths, labelOffset, minW, bgColor, doneColor, c…
202 c.setFontColor(currColor);
206 c.setFontColor(fontColor);
210 this.buttonText(c, currWidth, trueH, textStrings[i], buttonWidths[i], fontSize, minW, trueW);
215 mxShapeMockupStepBar.prototype.stepLineBg = function(c, w, h, buttonNum, buttonWidths, labelOffset,… argument
218 c.setStrokeColor(bgColor);
219 c.setFillColor(bgColor);
247 c.begin();
248 c.ellipse(currWidth - size, midY - size, 2 * size, 2 * size);
249 c.fillAndStroke();
252 c.begin();
253 c.rect(startX, midY - size * 0.2, endX - startX, size * 0.4);
254 c.fillAndStroke();
257 mxShapeMockupStepBar.prototype.stepLineFg = function(c, w, h, buttonNum, buttonWidths, labelOffset,… argument
260 c.setStrokeColor(doneColor);
290 c.setFillColor(doneColor);
291 c.begin();
292 c.rect(startX, midY - size * 0.15, endX - startX, size * 0.3);
293 c.fill();
294 c.setFillColor(bgColor);
320 c.setStrokeWidth(strokeWidth);
321 c.begin();
322 c.ellipse(currWidth - size, midY - size, 2 * size, 2 * size);
323 c.fillAndStroke();
325 c.setStrokeWidth(strokeWidth * 0.5);
326 c.begin();
327 c.ellipse(currWidth - size * 0.6, midY - size * 0.6, 2 * size * 0.6, 2 * size * 0.6);
328 c.fillAndStroke();
332 c.setStrokeWidth(strokeWidth);
333 c.setFillColor(bgColor);
334 c.setStrokeColor(bgColor);
335 c.begin();
336 c.ellipse(currWidth - size / 0.75, midY - size / 0.75, 2 * size / 0.75, 2 * size / 0.75);
337 c.fillAndStroke();
339 c.setStrokeWidth(strokeWidth);
340 c.setFillColor('#ffffff');
341 c.setStrokeColor('#ffffff');
342 c.begin();
343 c.ellipse(currWidth - size, midY - size, 2 * size, 2 * size);
344 c.fillAndStroke();
346 c.setFillColor(currColor);
347 c.setStrokeColor(currColor);
348 c.setStrokeWidth(strokeWidth * 0.5);
349 c.begin();
350 c.ellipse(currWidth - size * 0.7, midY - size * 0.7, 2 * size * 0.7, 2 * size * 0.7);
351 c.fillAndStroke();
356 mxShapeMockupStepBar.prototype.buttonText = function(c, w, h, textString, buttonWidth, fontSize, mi… argument
363 c.begin();
364 c.setFontSize(fontSize);
365c.text((w + buttonWidth * 0.5) * trueW / minW, fontSize * 0.5, 0, 0, textString, mxConstants.ALIGN…
399 mxShapeMockupCoverFlow.prototype.paintVertexShape = function(c, x, y, w, h) argument
401 c.translate(x, y);
403 c.begin();
404 c.moveTo(w * 0.0924, h * 0.07);
405 c.lineTo(w * 0.005, h * 0.01);
406 c.lineTo(w * 0.005, h * 0.99);
407 c.lineTo(w * 0.0924, h * 0.93);
409 c.moveTo(w * 0.1774, h * 0.09);
410 c.lineTo(w * 0.0924, h * 0.01);
411 c.lineTo(w * 0.0924, h * 0.99);
412 c.lineTo(w * 0.1774, h * 0.91);
414 c.moveTo(w * 0.3373, h * 0.22);
415 c.lineTo(w * 0.1774, h * 0.01);
416 c.lineTo(w * 0.1774, h * 0.99);
417 c.lineTo(w * 0.3373, h * 0.78);
419 c.moveTo(w * 0.912, h * 0.07);
420 c.lineTo(w * 0.998, h * 0.01);
421 c.lineTo(w * 0.998, h * 0.99);
422 c.lineTo(w * 0.912, h * 0.93);
424 c.moveTo(w * 0.8271, h * 0.09);
425 c.lineTo(w * 0.912, h * 0.01);
426 c.lineTo(w * 0.912, h * 0.99);
427 c.lineTo(w * 0.8271, h * 0.91);
429 c.moveTo(w * 0.6672, h * 0.22);
430 c.lineTo(w * 0.8271, h * 0.01);
431 c.lineTo(w * 0.8271, h * 0.99);
432 c.lineTo(w * 0.6672, h * 0.78);
434 c.moveTo(w * 0.3373, h * 0.005);
435 c.lineTo(w * 0.3373, h * 0.995);
436 c.lineTo(w * 0.6672, h * 0.995);
437 c.lineTo(w * 0.6672, h * 0.005);
438 c.close();
439 c.fillAndStroke();
482 mxShapeMockupScrollBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
488 c.translate(x, y);
489 this.background(c, w, h, buttonX);
490 c.setShadow(false);
491 this.foreground(c, w, h, buttonX);
495 mxShapeMockupScrollBar.prototype.background = function(c, w, h, buttonX) argument
497 c.rect(0, 0, w, h);
498 c.fillAndStroke();
499 c.begin();
500 c.moveTo(buttonX, 0);
501 c.lineTo(buttonX, h);
502 c.moveTo(w - buttonX, 0);
503 c.lineTo(w - buttonX, h);
504 c.stroke();
507 mxShapeMockupScrollBar.prototype.foreground = function(c, w, h, buttonX) argument
516 c.setStrokeColor(strokeColor2);
517 c.setFillColor(fillColor2);
519 c.begin();
520 c.moveTo(buttonX * 0.2, h * 0.5);
521 c.lineTo(buttonX * 0.8, h * 0.2);
522 c.lineTo(buttonX * 0.8, h * 0.8);
523 c.close();
524 c.moveTo(w - buttonX * 0.2, h * 0.5);
525 c.lineTo(w - buttonX * 0.8, h * 0.2);
526 c.lineTo(w - buttonX * 0.8, h * 0.8);
527 c.close();
528 c.fillAndStroke();
541 c.roundrect(barStart, h * 0.15, barWidth, h * 0.7, 5, 5);
542 c.fillAndStroke();
594 mxShapeMockupPagination.prototype.paintVertexShape = function(c, x, y, w, h) argument
600 c.translate(x, y);
602 c.setStrokeColor(textColor);
603 c.setFontSize(textSize);
604 c.setFontColor(textColor);
605c.text(w * 0.5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, nu…
606 c.begin();
607 c.moveTo(w * 0.5 - width * 0.5, (h + parseInt(textSize, 10)) * 0.5);
608 c.lineTo(w * 0.5 + width * 0.5, (h + parseInt(textSize, 10)) * 0.5);
609 c.stroke();
643 mxShapeMockupPageControl.prototype.paintVertexShape = function(c, x, y, w, h) argument
645 c.translate(x, y);
652 c.setFillColor(strokeColor);
653 c.ellipse(0, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
654 c.fill();
655 c.setFillColor(fillColor);
656 c.ellipse(w * 0.35 - rSize, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
657 c.fill();
658 c.ellipse(w * 0.65 - rSize, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
659 c.fill();
660 c.ellipse(w - 2 * rSize, h * 0.5 - rSize, 2 * rSize, 2 * rSize);
661 c.fill();
704 mxShapeMockupMapNavigator.prototype.paintVertexShape = function(c, x, y, w, h) argument
706 c.translate(x, y);
707 this.background(c, w, h);
708 c.setShadow(false);
709 this.foreground(c, w, h);
712 mxShapeMockupMapNavigator.prototype.background = function(c, w, h) argument
714 c.ellipse(0, 0, w, h * 0.6);
715 c.fillAndStroke();
717 c.begin();
718 c.moveTo(w * 0.35, h * 0.584);
719 c.lineTo(w * 0.35, h * 0.95);
720 c.arcTo(w * 0.083, h * 0.05, 0, 0, 0, w * 0.43, h);
721 c.lineTo(w * 0.56, h);
722 c.arcTo(w * 0.083, h * 0.05, 0, 0, 0, w * 0.65, h * 0.95);
723 c.lineTo(w * 0.65, h * 0.584);
724 c.fillAndStroke();
727 mxShapeMockupMapNavigator.prototype.foreground = function(c, w, h) argument
733 c.setFillColor(fillColor2);
734 c.setStrokeColor(strokeColor2);
735 c.ellipse(w * 0.4, h * 0.65, w * 0.2, h * 0.12);
736 c.fillAndStroke();
737 c.ellipse(w * 0.4, h * 0.85, w * 0.2, h * 0.12);
738 c.fillAndStroke();
740 c.begin();
741 c.moveTo(w * 0.1806, h * 0.34);
742 c.lineTo(w * 0.1357, h * 0.366);
743 c.lineTo(w * 0.0228, h * 0.3);
744 c.lineTo(w * 0.1357, h * 0.234);
745 c.lineTo(w * 0.1806, h * 0.26);
746 c.lineTo(w * 0.1142, h * 0.3);
747 c.close();
748 c.fillAndStroke();
750 c.begin();
751 c.moveTo(w * 0.433, h * 0.108);
752 c.lineTo(w * 0.3881, h * 0.08);
753 c.lineTo(w * 0.4994, h * 0.012);
754 c.lineTo(w * 0.6123, h * 0.08);
755 c.lineTo(w * 0.5658, h * 0.108);
756 c.lineTo(w * 0.4994, h * 0.068);
757 c.close();
758 c.fillAndStroke();
760 c.begin();
761 c.moveTo(w * 0.8198, h * 0.262);
762 c.lineTo(w * 0.868, h * 0.233);
763 c.lineTo(w * 0.9776, h * 0.3);
764 c.lineTo(w * 0.868, h * 0.367);
765 c.lineTo(w * 0.8198, h * 0.341);
766 c.lineTo(w * 0.8863, h * 0.3);
767 c.close();
768 c.fillAndStroke();
770 c.begin();
771 c.moveTo(w * 0.5641, h * 0.493);
772 c.lineTo(w * 0.6123, h * 0.522);
773 c.lineTo(w * 0.4994, h * 0.588);
774 c.lineTo(w * 0.3881, h * 0.521);
775 c.lineTo(w * 0.4363, h * 0.493);
776 c.lineTo(w * 0.4994, h * 0.533);
777 c.close();
778 c.fillAndStroke();
780 c.begin();
781 c.moveTo(w * 0.3333, h * 0.32);
782 c.lineTo(w * 0.3333, h * 0.28);
783 c.lineTo(w * 0.4163, h * 0.3);
784 c.close();
785 c.moveTo(w * 0.4662, h * 0.2);
786 c.lineTo(w * 0.5326, h * 0.2);
787 c.lineTo(w * 0.4994, h * 0.25);
788 c.close()
789 c.moveTo(w * 0.6654, h * 0.28);
790 c.lineTo(w * 0.6654, h * 0.32);
791 c.lineTo(w * 0.5824, h * 0.3);
792 c.close();
793 c.moveTo(w * 0.5326, h * 0.4);
794 c.lineTo(w * 0.4662, h * 0.4);
795 c.lineTo(w * 0.4994, h * 0.35);
796 c.close();
797 c.fillAndStroke();
799 c.setStrokeWidth(2);
800 c.setStrokeColor(strokeColor3);
802 c.begin();
803 c.moveTo(w * 0.5, h * 0.67);
804 c.lineTo(w * 0.5, h * 0.75);
805 c.moveTo(w * 0.43, h * 0.71);
806 c.lineTo(w * 0.57, h * 0.71);
807 c.moveTo(w * 0.43, h * 0.91);
808 c.lineTo(w * 0.57, h * 0.91);
809 c.stroke();
840 mxShapeMockupNavigationAnchor.prototype.paintVertexShape = function(c, x, y, w, h) argument