Home | History | Annotate | Download | only in graphics

Lines Matching refs:Matrix

209      * of the current matrix and clip stack. Additionally, as a side-effect
334 /** restore the current matrix when restore() is called */
348 * Saves the current matrix and clip onto a private stack. Subsequent
359 * Based on saveFlags, can save the current matrix and clip onto a private
378 * deleted and the previous matrix/clip state is restored.
410 * deleted and the previous matrix/clip state is restored.
435 * modifications to the matrix/clip state since the last save call. It is
441 * Returns the number of matrix/clip states on the Canvas' private stack.
462 * Preconcat the current matrix with the specified translation
470 * Preconcat the current matrix with the specified scale.
478 * Preconcat the current matrix with the specified scale.
492 * Preconcat the current matrix with the specified rotation.
499 * Preconcat the current matrix with the specified rotation.
512 * Preconcat the current matrix with the specified skew.
520 * Preconcat the current matrix with the specified matrix. If the specified
521 * matrix is null, this method does nothing.
523 * @param matrix The matrix to preconcatenate with the current matrix
525 public void concat(Matrix matrix) {
526 if (matrix != null) native_concat(mNativeCanvas, matrix.native_instance);
530 * Completely replace the current matrix with the specified matrix. If the
531 * matrix parameter is null, then the current matrix is reset to identity.
533 * <strong>Note:</strong> it is recommended to use {@link #concat(Matrix)},
537 * @param matrix The matrix to replace the current matrix with. If it is
538 * null, set the current matrix to identity.
540 * @see #concat(Matrix)
542 public void setMatrix(Matrix matrix) {
544 matrix == null ? 0 : matrix.native_instance);
548 * Return, in ctm, the current transformation matrix. This does not alter
549 * the matrix in the canvas, but just returns a copy of it.
552 public void getMatrix(Matrix ctm) {
557 * Return a new matrix with a copy of the canvas' current transformation
558 * matrix.
561 public final Matrix getMatrix() {
562 Matrix m = new Matrix();
684 * current matrix, clipRegion() assumes its argument is already in the
699 * current matrix, clipRegion() assumes its argument is already in the
747 * current matrix, would lie completely outside of the current clip. Call
755 * @return true if the rect (transformed by the canvas' matrix)
764 * current matrix, would lie completely outside of the current clip. Call
774 * @return true if the path (transformed by the canvas' matrix)
783 * current matrix, would lie completely outside of the current clip. Call
798 * @return true if the rect (transformed by the canvas' matrix)
1121 * the specified paint, transformed by the current matrix.
1262 * Draw the bitmap using the specified matrix.
1265 * @param matrix The matrix used to transform the bitmap when it is drawn
1268 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) {
1269 nativeDrawBitmapMatrix(mNativeCanvas, bitmap.ni(), matrix.ni(),
1746 private static native void native_getCTM(int canvas, int matrix);