Home | History | Annotate | Download | only in graphics

Lines Matching refs:sy

186      * Set the matrix to scale by sx and sy, with a pivot point at (px, py).
191 public void setScale(float sx, float sy, float px, float py) {
206 addTransform(new float[] { sx, 0, 0, 0, sy, 0, 0, 0, 1 });
211 /** Set the matrix to scale by sx and sy. */
213 public void setScale(float sx, float sy) {
218 mValues[4] = sy;
315 * Set the matrix to skew by sx and sy, with a pivot point at (px, py).
340 /** Set the matrix to skew by sx and sy. */
394 * M' = M * S(sx, sy, px, py)
397 public boolean preScale(float sx, float sy, float px, float py) {
399 m.setScale(sx, sy, px, py);
408 * M' = M * S(sx, sy)
411 public boolean preScale(float sx, float sy) {
413 m.setScale(sx, sy);
505 * M' = S(sx, sy, px, py) * M
508 public boolean postScale(float sx, float sy, float px, float py) {
513 addTransform(new float[] { sx, 0, 0, 0, sy, 0, 0, 0, 1 });
522 * M' = S(sx, sy) * M
525 public boolean postScale(float sx, float sy) {
526 addTransform(new float[] { sx, 0, 0, 0, sy, 0, 0, 0, 1 });
670 float ty, sy = dst.height() / src.height();
674 if (sx > sy) {
676 sx = sy;
678 sy = sx;
683 ty = dst.top - src.top * sy;
688 diff = dst.width() - src.width() * sy;
690 diff = dst.height() - src.height() * sy;
705 mValues[4] = sy;