Home | History | Annotate | Download | only in core

Lines Matching full:matrix

29     The SkMatrix class holds a 3x3 matrix for transforming coordinates.
31 using either reset() - to construct an identity matrix, or one of the set
37 Use this to identify the complexity of the matrix.
41 kTranslate_Mask = 0x01, //!< set if the matrix has translation
42 kScale_Mask = 0x02, //!< set if the matrix has X or Y scale
43 kAffine_Mask = 0x04, //!< set if the matrix skews or rotates
44 kPerspective_Mask = 0x08 //!< set if the matrix is in perspective
47 /** Returns a bitfield describing the transformations the matrix may
61 /** Returns true if the matrix is identity.
68 true if the matrix is identity, scale-only, or rotates a multiple of
81 * Returns true if the matrix contains perspective elements.
88 /** Returns true if the matrix contains only translation, rotation or uniform scale
93 /** Returns true if the matrix contains only translation, rotation or scale
178 /** Set the matrix to identity
184 /** Set the matrix to translate by (dx, dy).
189 /** Set the matrix to scale by sx and sy, with a pivot point at (px, py).
194 /** Set the matrix to scale by sx and sy.
197 /** Set the matrix to scale by 1/divx and 1/divy. Returns false and doesn't
198 touch the matrix if either divx or divy is zero.
201 /** Set the matrix to rotate by the specified number of degrees, with a
206 /** Set the matrix to rotate about (0,0) by the specified number of degrees.
209 /** Set the matrix to rotate by the specified sine and cosine values, with
215 /** Set the matrix to rotate by the specified sine and cosine values.
218 /** Set the matrix to skew by sx and sy, with a pivot point at (px, py).
223 /** Set the matrix to skew by sx and sy.
226 /** Set the matrix to the concatenation of the two specified matrices,
228 two matrices may also be the target matrix. *this = a * b;
232 /** Preconcats the matrix with the specified translation.
236 /** Preconcats the matrix with the specified scale.
240 /** Preconcats the matrix with the specified scale.
244 /** Preconcats the matrix with the specified rotation.
248 /** Preconcats the matrix with the specified rotation.
252 /** Preconcats the matrix with the specified skew.
256 /** Preconcats the matrix with the specified skew.
260 /** Preconcats the matrix with the specified matrix.
265 /** Postconcats the matrix with the specified translation.
269 /** Postconcats the matrix with the specified scale.
273 /** Postconcats the matrix with the specified scale.
277 /** Postconcats the matrix by dividing it by the specified integers.
281 /** Postconcats the matrix with the specified rotation.
285 /** Postconcats the matrix with the specified rotation.
289 /** Postconcats the matrix with the specified skew.
293 /** Postconcats the matrix with the specified skew.
297 /** Postconcats the matrix with the specified matrix.
330 /** Set the matrix to the scale and translate values that map the source
336 @return true if the matrix can be represented by the rectangle mapping.
340 /** Set the matrix such that the specified src points would map to the
345 @return true if the matrix was set to the specified transformation
349 /** If this matrix can be inverted, return true and if inverse is not null,
350 set inverse to be the inverse of this matrix. If this matrix cannot be
372 If the matrix is a perspective transform, returns false
378 /** Apply this matrix to the array of points specified by src, and write
390 /** Apply this matrix to the array of points, overwriting it with the
431 /** Apply this matrix to the array of vectors specified by src, and write
433 This is similar to mapPoints, but ignores any translation in the matrix.
443 /** Apply this matrix to the array of vectors specified by src, and write
445 This is similar to mapPoints, but ignores any translation in the matrix.
454 /** Apply this matrix to the src rectangle, and write the transformed
463 /** Apply this matrix to the rectangle, and write the transformed rectangle
474 this matrix. NOTE: in perspective this value assumes the circle
503 /** If the matrix can be stepped in X (not complex perspective)
512 * equal to themselves. So a matrix full of NaNs is "cheap equal" to
513 * another matrix full of NaNs iff the NaN values are bitwise identical
514 * while according to strict the strict == test a matrix with a NaN value
545 * Calculates the maximum stretching factor of the matrix. If the matrix has
553 * Return a reference to a const identity matrix
558 * Return a reference to a const matrix that is "invalid", one that could
564 * Testing routine; the matrix's type cache should never need to be
573 /** Set if the matrix will map a rectangle to another rectangle. This
574 can be true if the matrix is scale-only, or rotates a multiple of
582 the matrix is Unknown.
633 /** Returns true if we already know that the matrix is identity;