Lines Matching refs:dst
204 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
210 public boolean setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex,
485 /** Controlls how the src rect should align into the dst rect for
490 * Scale in X and Y independently, so that src matches dst exactly.
496 * but will also ensure that src fits entirely inside dst. At least one
498 * left and top edges of dst.
503 * but will also ensure that src fits entirely inside dst. At least one
504 * axis (X or Y) will fit exactly. The result is centered inside dst.
509 * but will also ensure that src fits entirely inside dst. At least one
511 * right and bottom edges of dst.
528 * @param dst the destination rectangle to map to.
532 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
533 if (dst == null || src == null) {
536 return native_setRectToRect(native_instance, src, dst, stf.nativeInt);
541 float[] dst, int dstIndex,
547 dst.length) {
554 * specified dst points. The "points" are represented as an array of floats,
559 * @param dst The array of dst [x,y] pairs (points)
560 * @param dstIndex Index of the first pair of dst values
565 float[] dst, int dstIndex,
570 checkPointArrays(src, srcIndex, dst, dstIndex, pointCount);
572 dst, dstIndex, pointCount);
586 * the transformed points into the array of points specified by dst. The
589 * @param dst The array of dst points (x,y pairs)
590 * @param dstIndex The index of the first [x,y] pair of dst floats
595 public void mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex,
597 checkPointArrays(src, srcIndex, dst, dstIndex, pointCount);
598 native_mapPoints(native_instance, dst, dstIndex, src, srcIndex,
604 * the transformed vectors into the array of vectors specified by dst. The
611 * @param dst The array of dst vectors (x,y pairs)
612 * @param dstIndex The index of the first [x,y] pair of dst floats
617 public void mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex,
619 checkPointArrays(src, srcIndex, dst, dstIndex, vectorCount);
620 native_mapPoints(native_instance, dst, dstIndex, src, srcIndex,
626 * the transformed points into the array of points specified by dst. The
629 * @param dst The array of dst points (x,y pairs)
632 public void mapPoints(float[] dst, float[] src) {
633 if (dst.length != src.length) {
636 mapPoints(dst, 0, src, 0, dst.length >> 1);
641 * the transformed vectors into the array of vectors specified by dst. The
647 * @param dst The array of dst vectors (x,y pairs)
650 public void mapVectors(float[] dst, float[] src) {
651 if (dst.length != src.length) {
654 mapVectors(dst, 0, src, 0, dst.length >> 1);
682 * rectangle into dst. This is accomplished by transforming the 4 corners of
683 * src, and then setting dst to the bounds of those points.
685 * @param dst Where the transformed rectangle is written.
689 public boolean mapRect(RectF dst, RectF src) {
690 if (dst == null || src == null) {
693 return native_mapRect(native_instance, dst, src);
852 RectF src, RectF dst, int stf);
854 float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount);
857 float[] dst, int dstIndex, float[] src, int srcIndex,
860 RectF dst, RectF src);