Lines Matching refs:SkMScalar
11 static inline bool eq4(const SkMScalar* SK_RESTRICT a, in eq4()
12 const SkMScalar* SK_RESTRICT b) { in eq4()
25 const SkMScalar* SK_RESTRICT a = &fMat[0][0]; in operator ==()
26 const SkMScalar* SK_RESTRICT b = &other.fMat[0][0]; in operator ==()
79 const SkMScalar* src = &fMat[0][0]; in asColMajorf()
96 const SkMScalar* src = &fMat[0][0]; in asColMajord()
107 const SkMScalar* src = &fMat[0][0]; in asRowMajorf()
119 const SkMScalar* src = &fMat[0][0]; in asRowMajord()
131 SkMScalar* dst = &fMat[0][0]; in setColMajorf()
144 SkMScalar* dst = &fMat[0][0]; in setColMajord()
157 SkMScalar* dst = &fMat[0][0]; in setRowMajorf()
170 SkMScalar* dst = &fMat[0][0]; in setRowMajord()
209 void SkMatrix44::set3x3(SkMScalar m_00, SkMScalar m_10, SkMScalar m_20, in set3x3()
210 SkMScalar m_01, SkMScalar m_11, SkMScalar m_21, in set3x3()
211 SkMScalar m_02, SkMScalar m_12, SkMScalar m_22) { in set3x3()
237 void SkMatrix44::setTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) { in setTranslate()
250 void SkMatrix44::preTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) { in preTranslate()
261 void SkMatrix44::postTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) { in postTranslate()
282 void SkMatrix44::setScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) { in setScale()
295 void SkMatrix44::preScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) { in preScale()
311 void SkMatrix44::postScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) { in postScale()
326 void SkMatrix44::setRotateAbout(SkMScalar x, SkMScalar y, SkMScalar z, in setRotateAbout()
327 SkMScalar radians) { in setRotateAbout()
342 void SkMatrix44::setRotateAboutUnit(SkMScalar x, SkMScalar y, SkMScalar z, in setRotateAboutUnit()
343 SkMScalar radians) { in setRotateAboutUnit()
391 SkMScalar storage[16]; in setConcat()
392 SkMScalar* result = useStorage ? storage : &fMat[0][0]; in setConcat()
475 SkMScalar accumulator = 0; in is_matrix_finite()
716 SkMScalar value = 0; in mapScalars()
730 void SkMatrix44::mapMScalars(const SkMScalar src[4], SkMScalar dst[4]) const { in mapMScalars()
731 SkMScalar storage[4]; in mapMScalars()
732 SkMScalar* result = (src == dst) ? storage : dst; in mapMScalars()
735 SkMScalar value = 0; in mapMScalars()
749 typedef void (*Map2Procf)(const SkMScalar mat[][4], const float src2[], int count, float dst4[]);
750 typedef void (*Map2Procd)(const SkMScalar mat[][4], const double src2[], int count, double dst4[]);
752 static void map2_if(const SkMScalar mat[][4], const float* SK_RESTRICT src2, in map2_if()
764 static void map2_id(const SkMScalar mat[][4], const double* SK_RESTRICT src2, in map2_id()
776 static void map2_tf(const SkMScalar mat[][4], const float* SK_RESTRICT src2, in map2_tf()
791 static void map2_td(const SkMScalar mat[][4], const double* SK_RESTRICT src2, in map2_td()
803 static void map2_sf(const SkMScalar mat[][4], const float* SK_RESTRICT src2, in map2_sf()
816 static void map2_sd(const SkMScalar mat[][4], const double* SK_RESTRICT src2, in map2_sd()
828 static void map2_af(const SkMScalar mat[][4], const float* SK_RESTRICT src2, in map2_af()
830 SkMScalar r; in map2_af()
832 SkMScalar sx = SkFloatToMScalar(src2[0]); in map2_af()
833 SkMScalar sy = SkFloatToMScalar(src2[1]); in map2_af()
846 static void map2_ad(const SkMScalar mat[][4], const double* SK_RESTRICT src2, in map2_ad()
860 static void map2_pf(const SkMScalar mat[][4], const float* SK_RESTRICT src2, in map2_pf()
862 SkMScalar r; in map2_pf()
864 SkMScalar sx = SkFloatToMScalar(src2[0]); in map2_pf()
865 SkMScalar sy = SkFloatToMScalar(src2[1]); in map2_pf()
875 static void map2_pd(const SkMScalar mat[][4], const double* SK_RESTRICT src2, in map2_pd()
908 bool SkMatrix44::preserves2dAxisAlignment (SkMScalar epsilon) const { in preserves2dAxisAlignment()
964 static void initFromMatrix(SkMScalar dst[4][4], const SkMatrix& src) { in initFromMatrix()