Home
last modified time | relevance | path

Searched refs:SkDoubleToMScalar (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/utils/
DSkMatrix44.cpp142 dst[i] = SkDoubleToMScalar(src[i]); in setColMajord()
165 dst[0] = SkDoubleToMScalar(src[0]); in setRowMajord()
166 dst[4] = SkDoubleToMScalar(src[1]); in setRowMajord()
167 dst[8] = SkDoubleToMScalar(src[2]); in setRowMajord()
168 dst[12] = SkDoubleToMScalar(src[3]); in setRowMajord()
312 x = SkDoubleToMScalar(x * scale); in setRotateAbout()
313 y = SkDoubleToMScalar(y * scale); in setRotateAbout()
314 z = SkDoubleToMScalar(z * scale); in setRotateAbout()
335 this->set3x3(SkDoubleToMScalar(x * xC + c), // scale x in setRotateAboutUnit()
336 SkDoubleToMScalar(xyC + zs), // skew x in setRotateAboutUnit()
[all …]
/external/skia/bench/
DMatrix44Bench.cpp97 fX = fY = fZ = SkDoubleToMScalar(1.5); in PreScaleMatrix44Bench()
234 fX = fY = fZ = SkDoubleToMScalar(1.5); in PostScaleMatrix44Bench()
259 const SkMScalar v = SkDoubleToMScalar(1.5); in SetConcatMatrix44Bench()
/external/skia/tests/
DMatrix44Test.cpp203 dstA[i] = SkDoubleToMScalar(123456789); in test_map2()
204 dstB[i] = SkDoubleToMScalar(987654321); in test_map2()
847 auto v = SkDoubleToMScalar(1.0e-12); in DEF_TEST()
859 mat.setScale(SkDoubleToMScalar(1.0e-2), in DEF_TEST()
860 SkDoubleToMScalar(3.0), in DEF_TEST()
861 SkDoubleToMScalar(1.0e+2)); in DEF_TEST()
864 mat.postTranslate(SkDoubleToMScalar(1.0e+2), in DEF_TEST()
865 SkDoubleToMScalar(3.0), in DEF_TEST()
866 SkDoubleToMScalar(1.0e-2)); in DEF_TEST()
/external/skia/include/utils/
DSkMatrix44.h26 static inline double SkDoubleToMScalar(double x) { in SkDoubleToMScalar() function
58 static inline float SkDoubleToMScalar(double x) { in SkDoubleToMScalar() function
271 this->set(row, col, SkDoubleToMScalar(value)); in setDouble()
/external/skia/samplecode/
DSampleSkLayer.cpp84 m0.postScale(SkDoubleToMScalar(0.5)); in test44()