Lines Matching refs:c

38 mxShapeMockupLink.prototype.paintVertexShape = function(c, x, y, w, h)  argument
44 c.translate(x, y);
46 c.setStrokeColor(textColor);
47 c.setFontSize(textSize);
48 c.setFontColor(textColor);
50c.text(w * 0.5, h * 0.5, 0, 0, linkText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, nu…
52 c.begin();
53 c.moveTo(w * 0.5 - width * 0.5, (h + parseInt(textSize, 10)) * 0.5);
54 c.lineTo(w * 0.5 + width * 0.5, (h + parseInt(textSize, 10)) * 0.5);
55 c.stroke();
96 mxShapeMockupLinkBar.prototype.paintVertexShape = function(c, x, y, w, h) argument
141 c.translate(x, y);
142 …this.background(c, trueW, trueH, rSize, buttonNum, buttonWidths, labelOffset, minW, frameColor, se…
143 c.setShadow(false);
151 c.setFontColor(selectedFontColor);
152 c.setStrokeColor(selectedFontColor);
156 c.setFontColor(fontColor);
157 c.setStrokeColor(fontColor);
161 this.buttonText(c, currWidth, trueH, textStrings[i], buttonWidths[i], fontSize, minW, trueW);
166 mxShapeMockupLinkBar.prototype.background = function(c, w, h, rSize, buttonNum, buttonWidths, label… argument
168 c.begin();
171 c.setStrokeColor(frameColor);
172 c.setFillColor(bgColor);
173 c.rect(0, 0, w, h);
174 c.fillAndStroke();
177 c.setStrokeColor(separatorColor);
178 c.begin();
192 c.moveTo(currWidth, 0);
193 c.lineTo(currWidth, h);
197 c.stroke();
201 c.setFillColor(selectedFillColor);
214 c.rect(0, 0, buttonRight, h);
215 c.fill();
219 c.rect(buttonLeft, 0, buttonRight - buttonLeft, h);
220 c.fill();
224 c.rect(buttonLeft, 0, buttonRight - buttonLeft, h);
225 c.fill();
229 c.setStrokeColor(frameColor);
230 c.setFillColor(bgColor);
231 c.rect(0, 0, w, h);
232 c.stroke();
235 mxShapeMockupLinkBar.prototype.buttonText = function(c, w, h, textString, buttonWidth, fontSize, mi… argument
242 c.begin();
243 c.setFontSize(fontSize);
244c.text((w + buttonWidth * 0.5) * trueW / minW, h * 0.5, 0, 0, textString, mxConstants.ALIGN_CENTER…
250 c.begin();
251 c.moveTo((w + buttonWidth * 0.5) * trueW / minW - textW, h * 0.5 + fontSize * 0.5);
252 c.lineTo((w + buttonWidth * 0.5) * trueW / minW + textW, h * 0.5 + fontSize * 0.5);
253 c.stroke();
311 mxShapeMockupCallout.prototype.paintVertexShape = function(c, x, y, w, h) argument
326 c.translate(x, y);
327 c.setFontSize(textSize);
328 c.setFontColor(textColor);
335 c.begin();
336 c.moveTo(0, callH);
337 c.lineTo(textWidth, callH);
338 c.lineTo(w, h);
339 c.stroke();
343 c.rect(0,0, textWidth, callH);
344 c.fillAndStroke();
345 c.begin();
346 c.moveTo(textWidth * 0.5, callH);
347 c.lineTo(w, h);
348 c.stroke();
352 c.roundrect(0, 0, textWidth, callH, callH * 0.25, callH * 0.25);
353 c.fillAndStroke();
354 c.begin();
355 c.moveTo(textWidth * 0.5, callH);
356 c.lineTo(w, h);
357 c.stroke();
360c.text(textWidth * 0.5, callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConstants.ALIG…
366 c.begin();
367 c.moveTo(w, callH);
368 c.lineTo(w - textWidth, callH);
369 c.lineTo(0, h);
370 c.stroke();
374 c.rect(w - textWidth,0, textWidth, callH);
375 c.fillAndStroke();
376 c.begin();
377 c.moveTo(w - textWidth * 0.5, callH);
378 c.lineTo(0, h);
379 c.stroke();
383 c.roundrect(w - textWidth,0, textWidth, callH, callH * 0.25, callH * 0.25);
384 c.fillAndStroke();
385 c.begin();
386 c.moveTo(w - textWidth * 0.5, callH);
387 c.lineTo(0, h);
388 c.stroke();
391c.text(w - textWidth * 0.5, callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConstants.…
397 c.begin();
398 c.moveTo(w, h);
399 c.lineTo(w - textWidth, h);
400 c.lineTo(0, 0);
401 c.stroke();
405 c.rect(w - textWidth, h - callH, textWidth, callH);
406 c.fillAndStroke();
407 c.begin();
408 c.moveTo(w - textWidth * 0.5, h - callH);
409 c.lineTo(0, 0);
410 c.stroke();
414 c.roundrect(w - textWidth,h - callH, textWidth, callH, callH * 0.25, callH * 0.25);
415 c.fillAndStroke();
416 c.begin();
417 c.moveTo(w - textWidth * 0.5, h - callH);
418 c.lineTo(0, 0);
419 c.stroke();
422c.text(w - textWidth * 0.5, h - callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConsta…
428 c.begin();
429 c.moveTo(0, h);
430 c.lineTo(textWidth, h);
431 c.lineTo(w, 0);
432 c.stroke();
436 c.rect(0, h - callH, textWidth, callH);
437 c.fillAndStroke();
438 c.begin();
439 c.moveTo(textWidth * 0.5, h - callH);
440 c.lineTo(w, 0);
441 c.stroke();
445 c.roundrect(0, h - callH, textWidth, callH, callH * 0.25, callH * 0.25);
446 c.fillAndStroke();
447 c.begin();
448 c.moveTo(textWidth * 0.5, h - callH);
449 c.lineTo(w, 0);
450 c.stroke();
453c.text(textWidth * 0.5, h - callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConstants.…
492 mxShapeMockupStickyNote.prototype.paintVertexShape = function(c, x, y, w, h) argument
494 c.translate(x, y);
495 this.background(c, w, h);
496 c.setShadow(false);
497 this.foreground(c, w, h);
500 mxShapeMockupStickyNote.prototype.background = function(c, w, h) argument
502 c.setFillColor('#ffffcc');
503 c.begin();
504 c.moveTo(w * 0.03, h * 0.07);
505 c.lineTo(w * 0.89, h * 0.06);
506 c.arcTo(2.81 * w, 2.92 * h, 1, 0, 0, w * 0.99, h * 0.98);
507 c.lineTo(w * 0.09, h * 0.99);
508 c.arcTo(2.81 * w, 2.92 * h, 1, 0, 1, w * 0.03, h * 0.07);
509 c.close();
510 c.fill();
513 mxShapeMockupStickyNote.prototype.foreground = function(c, w, h) argument
519 c.setFillColor('#ff3300');
520 c.begin();
521 c.moveTo(w * 0.28 , 0);
522 c.lineTo(w * 0.59, 0);
523 c.lineTo(w * 0.6, h * 0.12);
524 c.lineTo(w * 0.28, h * 0.13);
525 c.close();
526 c.fill();
528 c.setFontSize(fontSize);
529 c.setFontColor(fontColor);
535c.text(w / 2, (h - textH) / 2 + i * fontSize * 1.5 + fontSize * 0.75, 0, 0, mainText[i], mxConstan…
570 mxShapeMockupStickyNote2.prototype.paintVertexShape = function(c, x, y, w, h) argument
572 c.translate(x, y);
573 this.background(c, w, h);
574 c.setShadow(false);
575 this.foreground(c, w, h);
578 mxShapeMockupStickyNote2.prototype.background = function(c, w, h) argument
580 c.begin();
581 c.moveTo(w * 0.03, h * 0.07);
582 c.lineTo(w * 0.89, h * 0.06);
583 c.arcTo(2.81 * w, 2.92 * h, 1, 0, 0, w * 0.99, h * 0.98);
584 c.lineTo(w * 0.09, h * 0.99);
585 c.arcTo(2.81 * w, 2.92 * h, 1, 0, 1, w * 0.03, h * 0.07);
586 c.close();
587 c.fill();
590 mxShapeMockupStickyNote2.prototype.foreground = function(c, w, h) argument
594 c.setFillColor(strokeColor);
595 c.begin();
596 c.moveTo(w * 0.28 , 0);
597 c.lineTo(w * 0.59, 0);
598 c.lineTo(w * 0.6, h * 0.12);
599 c.lineTo(w * 0.28, h * 0.13);
600 c.close();
601 c.fill();
642 mxShapeMockupBulletedList.prototype.paintVertexShape = function(c, x, y, w, h) argument
644 c.translate(x, y);
645 this.background(c, w, h);
646 c.setShadow(false);
647 this.foreground(c, w, h);
650 mxShapeMockupBulletedList.prototype.background = function(c, w, h) argument
652 c.rect(0, 0, w, h);
653 c.fillAndStroke();
656 mxShapeMockupBulletedList.prototype.foreground = function(c, w, h) argument
663 c.setFontColor(fontColor);
664 c.setFontSize(fontSize);
689c.text(10, i * fontSize * 1.5 + fontSize * 0.75, 0, 0, currText, mxConstants.ALIGN_LEFT, mxConstan…
727 mxShapeMockupTextBox.prototype.paintVertexShape = function(c, x, y, w, h) argument
729 c.translate(x, y);
730 this.background(c, w, h);
731 c.setShadow(false);
732 this.foreground(c, w, h);
735 mxShapeMockupTextBox.prototype.background = function(c, w, h) argument
737 c.rect(0, 0, w, h);
738 c.fillAndStroke();
741 mxShapeMockupTextBox.prototype.foreground = function(c, w, h) argument
747 c.setFontColor(fontColor);
748 c.setFontSize(fontSize);
752c.text(5, i * fontSize * 1.5 + fontSize * 0.75, 0, 0, mainText[i], mxConstants.ALIGN_LEFT, mxConst…
790 mxShapeMockupCaptcha.prototype.paintVertexShape = function(c, x, y, w, h) argument
792 c.translate(x, y);
793 this.background(c, w, h);
794 c.setShadow(false);
795 this.foreground(c, w, h);
798 mxShapeMockupCaptcha.prototype.background = function(c, w, h) argument
800 c.rect(0, 0, w, h);
801 c.fillAndStroke();
804 mxShapeMockupCaptcha.prototype.foreground = function(c, w, h) argument
810 c.setFillColor('#88aaff');
811 c.begin();
812 c.moveTo(0, 0);
813 c.lineTo(w * 0.35, 0);
814 c.lineTo(w * 0.55, h * 0.85);
815 c.lineTo(w * 0.4, h * 0.75);
816 c.close();
817 c.fill();
819 c.begin();
820 c.moveTo(w * 0.7, h * 0.1);
821 c.lineTo(w * 0.95, h * 0.23);
822 c.lineTo(w, h * 0.4);
823 c.lineTo(w, h * 0.9);
824 c.lineTo(w, h);
825 c.lineTo(w * 0.8, h);
826 c.close();
827 c.fill();
829 c.setFontColor(fontColor);
830 c.setFontSize(fontSize);
832c.text(w * 0.5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, nu…
834 c.rect(0, 0, w, h);
835 c.stroke();
872 mxShapeMockupAlphanumeric.prototype.paintVertexShape = function(c, x, y, w, h) argument
878 c.translate(x, y);
880 c.setStrokeColor(textColor);
881 c.setFontSize(textSize);
882 c.setFontColor(textColor);
883c.text(w * 0.5, h * 0.5, 0, 0, mainText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, nu…
884 c.begin();
885 c.moveTo(w * 0.5 - width * 0.5, (h + parseInt(textSize, 10)) * 0.5);
886 c.lineTo(w * 0.5 + width * 0.5, (h + parseInt(textSize, 10)) * 0.5);
887 c.stroke();
922 mxShapeMockupTextRRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
924 c.translate(x, y);
927 c.roundrect(0, 0, w, h, rSize);
928 c.fillAndStroke();