Lines Matching defs:matrix
23 static size_t WriteToMemory(const SkMatrix& matrix, void* buffer) {
24 return matrix.writeToMemory(buffer);
27 static size_t ReadFromMemory(SkMatrix* matrix, const void* buffer, size_t length) {
28 return matrix->readFromMemory(buffer, length);
35 static MapPtsProc GetMapPtsProc(const SkMatrix& matrix) {
36 return SkMatrix::GetMapPtsProc(matrix.getType());
39 static MapXYProc GetMapXYProc(const SkMatrix& matrix) {
40 return SkMatrix::GetMapXYProc(matrix.getType());
44 * Attempt to map the rect through the inverse of the matrix. If it is not invertible,
80 @param mx matrix used to map the points
128 @param mx matrix used to map the points
150 static bool PostIDiv(SkMatrix* matrix, int divx, int divy) {
151 return matrix->postIDiv(divx, divy);
160 // This is legacy functionality that only checks the 3x3 portion. The matrix could have Z-based
171 // 'r' are assumed to have z = 0 and w = 1. If the matrix has perspective, the returned