Home | History | Annotate | Download | only in core

Lines Matching defs:set

31     using either reset() - to construct an identity matrix, or one of the set
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
50 other bits may be set to true even in the case of a pure perspective
148 void set(int index, SkScalar value) {
154 void setScaleX(SkScalar v) { this->set(kMScaleX, v); }
155 void setScaleY(SkScalar v) { this->set(kMScaleY, v); }
156 void setSkewY(SkScalar v) { this->set(kMSkewY, v); }
157 void setSkewX(SkScalar v) { this->set(kMSkewX, v); }
158 void setTranslateX(SkScalar v) { this->set(kMTransX, v); }
159 void setTranslateY(SkScalar v) { this->set(kMTransY, v); }
160 void setPerspX(SkPersp v) { this->set(kMPersp0, v); }
161 void setPerspY(SkPersp v) { this->set(kMPersp1, v); }
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
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,
330 /** Set the matrix to the scale and translate values that map the source
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
350 set inverse to be the inverse of this matrix. If this matrix cannot be
613 /** Set if the matrix will map a rectangle to another rectangle. This
617 This bit will be set on identity matrices
621 /** Set if the perspective bit is valid even though the rest of