Lines Matching refs:SkMScalar
10 static inline bool eq4(const SkMScalar* SK_RESTRICT a,
11 const SkMScalar* SK_RESTRICT b) {
24 const SkMScalar* SK_RESTRICT a = &fMat[0][0];
25 const SkMScalar* SK_RESTRICT b = &other.fMat[0][0];
78 const SkMScalar* src = &fMat[0][0];
89 const SkMScalar* src = &fMat[0][0];
100 const SkMScalar* src = &fMat[0][0];
112 const SkMScalar* src = &fMat[0][0];
124 SkMScalar* dst = &fMat[0][0];
137 SkMScalar* dst = &fMat[0][0];
150 SkMScalar* dst = &fMat[0][0];
163 SkMScalar* dst = &fMat[0][0];
202 void SkMatrix44::set3x3(SkMScalar m00, SkMScalar m01, SkMScalar m02,
203 SkMScalar m10, SkMScalar m11, SkMScalar m12,
204 SkMScalar m20, SkMScalar m21, SkMScalar m22) {
214 void SkMatrix44::setTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) {
227 void SkMatrix44::preTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) {
238 void SkMatrix44::postTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) {
259 void SkMatrix44::setScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) {
272 void SkMatrix44::preScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) {
288 void SkMatrix44::postScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) {
303 void SkMatrix44::setRotateAbout(SkMScalar x, SkMScalar y, SkMScalar z,
304 SkMScalar radians) {
319 void SkMatrix44::setRotateAboutUnit(SkMScalar x, SkMScalar y, SkMScalar z,
320 SkMScalar radians) {
368 SkMScalar storage[16];
369 SkMScalar* result = useStorage ? storage : &fMat[0][0];
405 promoting our SkMScalar values to double (if needed).
668 SkMScalar value = 0;
682 void SkMatrix44::mapMScalars(const SkMScalar src[4], SkMScalar dst[4]) const {
683 SkMScalar storage[4];
684 SkMScalar* result = (src == dst) ? storage : dst;
687 SkMScalar value = 0;
701 typedef void (*Map2Procf)(const SkMScalar mat[][4], const float src2[], int count, float dst4[]);
702 typedef void (*Map2Procd)(const SkMScalar mat[][4], const double src2[], int count, double dst4[]);
704 static void map2_if(const SkMScalar mat[][4], const float* SK_RESTRICT src2,
716 static void map2_id(const SkMScalar mat[][4], const double* SK_RESTRICT src2,
728 static void map2_tf(const SkMScalar mat[][4], const float* SK_RESTRICT src2,
743 static void map2_td(const SkMScalar mat[][4], const double* SK_RESTRICT src2,
755 static void map2_sf(const SkMScalar mat[][4], const float* SK_RESTRICT src2,
768 static void map2_sd(const SkMScalar mat[][4], const double* SK_RESTRICT src2,
780 static void map2_af(const SkMScalar mat[][4], const float* SK_RESTRICT src2,
782 SkMScalar r;
784 SkMScalar sx = SkFloatToMScalar(src2[0]);
785 SkMScalar sy = SkFloatToMScalar(src2[1]);
798 static void map2_ad(const SkMScalar mat[][4], const double* SK_RESTRICT src2,
812 static void map2_pf(const SkMScalar mat[][4], const float* SK_RESTRICT src2,
814 SkMScalar r;
816 SkMScalar sx = SkFloatToMScalar(src2[0]);
817 SkMScalar sy = SkFloatToMScalar(src2[1]);
827 static void map2_pd(const SkMScalar mat[][4], const double* SK_RESTRICT src2,
882 static void initFromMatrix(SkMScalar dst[4][4], const SkMatrix& src) {