Searched refs:sinValue (Results 1 - 6 of 6) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_fe_color_matrix.cpp | 73 const float sinValue = sin(theta); in MakeHueRotate() local 77 0.213f + cosValue*0.787f + sinValue*-0.213f, in MakeHueRotate() 78 0.715f + cosValue*-0.715f + sinValue*-0.715f, in MakeHueRotate() 79 0.072f + cosValue*-0.072f + sinValue* 0.928f, in MakeHueRotate() 83 0.213f + cosValue*-0.213f + sinValue* 0.143f, in MakeHueRotate() 84 0.715f + cosValue* 0.285f + sinValue* 0.140f, in MakeHueRotate() 85 0.072f + cosValue*-0.072f + sinValue*-0.283f, in MakeHueRotate() 89 0.213f + cosValue*-0.213f + sinValue*-0.787f, in MakeHueRotate() 90 0.715f + cosValue*-0.715f + sinValue* 0.715f, in MakeHueRotate() 91 0.072f + cosValue* 0.928f + sinValue* 0.07 in MakeHueRotate() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | matrix.cpp | 53 Matrix &Matrix::SetSinCos(const float sinValue, const float cosValue, const float px, const float py) in SetSinCos() argument 58 fMat_[IMAGE_SKEWX] = -sinValue; in SetSinCos() 59 fMat_[IMAGE_TRANSX] = sinValue * py + reverseCosValue * px; in SetSinCos() 61 fMat_[IMAGE_SKEWY] = sinValue; in SetSinCos() 63 fMat_[IMAGE_TRANSY] = -sinValue * px + reverseCosValue * py; in SetSinCos()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | matrix4.cpp | 59 double sinValue = sinf(redian); in CreateRotate() local 61 return Matrix4(cosValue + (x * x * (1.0f - cosValue)), (x * y * (1.0f - cosValue)) - (z * sinValue), in CreateRotate() 62 (x * z * (1.0f - cosValue)) + (y * sinValue), 0.0f, (y * x * (1.0f - cosValue)) + (z * sinValue), in CreateRotate() 63 cosValue + (y * y * (1.0f - cosValue)), (y * z * (1.0f - cosValue)) - (x * sinValue), 0.0f, in CreateRotate() 64 (z * x * (1.0f - cosValue)) - (y * sinValue), (z * y * (1.0f - cosValue)) + (x * sinValue), in CreateRotate()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | matrix.h | 127 Matrix &SetSinCos(const float sinValue, const float cosValue, const float px, const float py);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | matrix_test.cpp | 197 float sinValue = 1; in HWTEST_F() local 199 matrix_.SetSinCos(sinValue, cosValue, px, py); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.cpp | 1584 float sinValue = std::sin(rad); in SetHueRotateFilter() local 1587 matrix[0] = LUMR + cosValue * (1 - LUMR) + sinValue * (-LUMR); in SetHueRotateFilter() 1588 matrix[5] = LUMR + cosValue * (-LUMR) + sinValue * 0.143f; in SetHueRotateFilter() 1589 matrix[10] = LUMR + cosValue * (-LUMR) + sinValue * (LUMR - 1); in SetHueRotateFilter() 1591 matrix[1] = LUMG + cosValue * (-LUMG) + sinValue * (-LUMG); in SetHueRotateFilter() 1592 matrix[6] = LUMG + cosValue * (1 - LUMG) + sinValue * 0.140f; in SetHueRotateFilter() 1593 matrix[11] = LUMG + cosValue * (-LUMG) + sinValue * LUMG; in SetHueRotateFilter() 1595 matrix[2] = LUMB + cosValue * (-LUMB) + sinValue * (1 - LUMB); in SetHueRotateFilter() 1596 matrix[7] = LUMB + cosValue * (-LUMB) + sinValue * (-0.283f); in SetHueRotateFilter() 1597 matrix[12] = LUMB + cosValue * (1 - LUMB) + sinValue * LUM in SetHueRotateFilter() [all...] |
Completed in 7 milliseconds