Lines Matching refs:y

878   return box.y + box.height / 2;
911 y: (y2 - y1) * r1 + y1 + yfactor property in wobble.p1
916 y: (y2 - y1) * r2 + y1 - yfactor property in wobble.p2
919 return 'C' + p1.x.toFixed(1) + ',' + p1.y.toFixed(1) + // start control point
920 ' ' + p2.x.toFixed(1) + ',' + p2.y.toFixed(1) + // end control point
927 function handRect(x, y, w, h) { argument
928 assert(_.all([x, y, w, h], _.isFinite), 'x, y, w, h must be numeric');
929 return 'M' + x + ',' + y +
930 wobble(x, y, x + w, y) +
931 wobble(x + w, y, x + w, y + h) +
932 wobble(x + w, y + h, x, y + h) +
933 wobble(x, y + h, x, y);
971 var y = DIAGRAM_MARGIN + titleHeight;
974 this.drawActors(y);
975 this.drawSignals(y + this.actorsHeight_);
998 title.y = DIAGRAM_MARGIN;
1008 a.x = 0; a.y = 0;
1143 var y = offsetY;
1146 this.drawActor(a, y, this.actorsHeight_);
1149 this.drawActor(a, y + this.actorsHeight_ + this.signalsHeight_, this.actorsHeight_);
1154 aX, y + this.actorsHeight_ - ACTOR_MARGIN,
1155 aX, y + this.actorsHeight_ + ACTOR_MARGIN + this.signalsHeight_);
1160 actor.y = offsetY;
1166 var y = offsetY;
1171 this.drawSelfSignal(s, y);
1173 this.drawSignal(s, y);
1177 this.drawNote(s, y);
1180 y += s.height;
1191 var y = offsetY + SIGNAL_PADDING + signal.height / 2 + textBB.y;
1193 this.drawText(x, y, signal.message, this.font_, ALIGN_LEFT);
1210 var y = offsetY + SIGNAL_MARGIN + 2 * SIGNAL_PADDING;
1213 this.drawText(x, y, signal.message, this.font_, ALIGN_CENTER);
1216 y = offsetY + signal.height - SIGNAL_MARGIN - SIGNAL_PADDING;
1217 this.drawLine(aX, y, bX, y, signal.linetype, signal.arrowtype);
1221 note.y = offsetY;
1252 var y = box.y + margin;
1257 this.drawRect(x, y, w, h);
1262 y = getCenterY(box);
1265 y += padding;
1268 return this.drawText(x, y, text, font, align);
1392 drawRect: function(x, y, w, h) { argument
1393 return this.paper_.rect(x, y, w, h).attr(RECT);
1403 drawText: function(x, y, text, font, align) { argument
1413 y = y - bb.height / 2;
1419 t = paper.print(x - bb.x, y - bb.y, text, font.obj_, font['font-size']);
1421 t = paper.text(x - bb.x - bb.width / 2, y - bb.y, text);
1459 drawRect: function(x, y, w, h) { argument
1460 return this.paper_.path(handRect(x, y, w, h)).attr(RECT);