Lines Matching refs:c

40 mxCabinetsCabinet.prototype.paintVertexShape = function(c, x, y, w, h)  argument
42 c.translate(x, y);
43 this.background(c, 0, 0, w, h);
44 c.setShadow(false);
45 this.foreground(c, 0, 0, w, h);
48 mxCabinetsCabinet.prototype.background = function(c, x, y, w, h) argument
50 c.rect(0, 0, w, h);
51 c.fillAndStroke();
54 mxCabinetsCabinet.prototype.foreground = function(c, x, y, w, h) argument
57 c.rect(0, 0, w, wallTh);
58 c.stroke();
60 c.begin();
61 c.moveTo(wallTh, wallTh);
62 c.lineTo(wallTh, h);
63 c.moveTo(w - wallTh, wallTh);
64 c.lineTo(w - wallTh, h);
65 c.stroke();
71 c.rect(0, h - 40, w, 40);
72 c.fillAndStroke();
76 c.rect(0, h - wallTh, w, wallTh);
77 c.fillAndStroke();
114 mxCabinetsCoverPlate.prototype.paintVertexShape = function(c, x, y, w, h) argument
116 c.translate(x, y);
117 this.background(c, 0, 0, w, h);
118 c.setShadow(false);
119 this.foreground(c, 0, 0, w, h);
122 mxCabinetsCoverPlate.prototype.background = function(c, x, y, w, h) argument
124 c.begin();
125 c.moveTo(0, 0);
126 c.lineTo(w, 0);
127 c.lineTo(w, h);
128 c.lineTo(0, h);
129 c.close();
130 c.moveTo(10, h * 0.5 - 12.5);
131 c.lineTo(10, h * 0.5 + 12.5);
132 c.lineTo(w - 10, h * 0.5 + 12.5);
133 c.lineTo(w - 10, h * 0.5 - 12.5);
134 c.close();
135 c.fillAndStroke();
138 mxCabinetsCoverPlate.prototype.foreground = function(c, x, y, w, h) argument
175 mxCabinetsDimension.prototype.paintVertexShape = function(c, x, y, w, h) argument
177 c.translate(x, y);
178 this.background(c, x, y, w, h);
181 mxCabinetsDimension.prototype.background = function(c, x, y, w, h) argument
183 c.begin();
184 c.moveTo(0, 20);
185 c.lineTo(w, 20);
186 c.moveTo(10, 15);
187 c.lineTo(0, 20);
188 c.lineTo(10, 25);
189 c.moveTo(w - 10, 15);
190 c.lineTo(w, 20);
191 c.lineTo(w - 10, 25);
192 c.moveTo(0, 15);
193 c.lineTo(0, h);
194 c.moveTo(w, 15);
195 c.lineTo(w, h);
196 c.stroke();
232 mxCabinetsDimensionBottom.prototype.paintVertexShape = function(c, x, y, w, h) argument
234 c.translate(x, y);
235 this.background(c, x, y, w, h);
238 mxCabinetsDimensionBottom.prototype.background = function(c, x, y, w, h) argument
240 c.begin();
241 c.moveTo(0, h - 20);
242 c.lineTo(w, h - 20);
243 c.moveTo(10, h - 15);
244 c.lineTo(0, h - 20);
245 c.lineTo(10, h - 25);
246 c.moveTo(w - 10, h - 15);
247 c.lineTo(w, h - 20);
248 c.lineTo(w - 10, h - 25);
249 c.moveTo(0, h - 15);
250 c.lineTo(0, 0);
251 c.moveTo(w, h - 15);
252 c.lineTo(w, 0);
253 c.stroke();