Lines Matching refs:SkMatrix
155 void Matrix4::load(const SkMatrix& v) { in load()
158 data[kScaleX] = v[SkMatrix::kMScaleX]; in load()
159 data[kSkewX] = v[SkMatrix::kMSkewX]; in load()
160 data[kTranslateX] = v[SkMatrix::kMTransX]; in load()
162 data[kSkewY] = v[SkMatrix::kMSkewY]; in load()
163 data[kScaleY] = v[SkMatrix::kMScaleY]; in load()
164 data[kTranslateY] = v[SkMatrix::kMTransY]; in load()
166 data[kPerspective0] = v[SkMatrix::kMPersp0]; in load()
167 data[kPerspective1] = v[SkMatrix::kMPersp1]; in load()
168 data[kPerspective2] = v[SkMatrix::kMPersp2]; in load()
182 void Matrix4::copyTo(SkMatrix& v) const { in copyTo()
185 v.set(SkMatrix::kMScaleX, data[kScaleX]); in copyTo()
186 v.set(SkMatrix::kMSkewX, data[kSkewX]); in copyTo()
187 v.set(SkMatrix::kMTransX, data[kTranslateX]); in copyTo()
189 v.set(SkMatrix::kMSkewY, data[kSkewY]); in copyTo()
190 v.set(SkMatrix::kMScaleY, data[kScaleY]); in copyTo()
191 v.set(SkMatrix::kMTransY, data[kTranslateY]); in copyTo()
193 v.set(SkMatrix::kMPersp0, data[kPerspective0]); in copyTo()
194 v.set(SkMatrix::kMPersp1, data[kPerspective1]); in copyTo()
195 v.set(SkMatrix::kMPersp2, data[kPerspective2]); in copyTo()