Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMatrix44.cpp148 dst[i] = SkDoubleToMScalar(src[i]); in setColMajord()
171 dst[0] = SkDoubleToMScalar(src[0]); in setRowMajord()
172 dst[4] = SkDoubleToMScalar(src[1]); in setRowMajord()
173 dst[8] = SkDoubleToMScalar(src[2]); in setRowMajord()
174 dst[12] = SkDoubleToMScalar(src[3]); in setRowMajord()
334 x = SkDoubleToMScalar(x * scale); in setRotateAbout()
335 y = SkDoubleToMScalar(y * scale); in setRotateAbout()
336 z = SkDoubleToMScalar(z * scale); in setRotateAbout()
357 this->set3x3(SkDoubleToMScalar(x * xC + c), // scale x in setRotateAboutUnit()
358 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()
864 auto v = SkDoubleToMScalar(1.0e-12); in DEF_TEST()
876 mat.setScale(SkDoubleToMScalar(1.0e-2), in DEF_TEST()
877 SkDoubleToMScalar(3.0), in DEF_TEST()
878 SkDoubleToMScalar(1.0e+2)); in DEF_TEST()
881 mat.postTranslate(SkDoubleToMScalar(1.0e+2), in DEF_TEST()
882 SkDoubleToMScalar(3.0), in DEF_TEST()
883 SkDoubleToMScalar(1.0e-2)); in DEF_TEST()
/external/skia/include/core/
DSkMatrix44.h26 static inline double SkDoubleToMScalar(double x) { in SkDoubleToMScalar() function
58 static inline float SkDoubleToMScalar(double x) { in SkDoubleToMScalar() function
284 this->set(row, col, SkDoubleToMScalar(value)); in setDouble()