Home
last modified time | relevance | path

Searched refs:imgPoint4 (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_utils_lite/frameworks/
H A Dtransform.cpp287 Vector4<float> imgPoint4; in SetMatrix() local
291 imgPoint4 = matrix * point; in SetMatrix()
292 if (!FloatEqual(imgPoint4.w_, 1)) { in SetMatrix()
295 if (!FloatEqual(imgPoint4.w_, 0)) { in SetMatrix()
296 imgPoint4.x_ /= imgPoint4.w_; in SetMatrix()
297 imgPoint4.y_ /= imgPoint4.w_; in SetMatrix()
299 if (imgPoint4.x_ < COORD_MIN) { in SetMatrix()
301 } else if (imgPoint4 in SetMatrix()
[all...]
/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_utils.cpp1860 Vector4<float> imgPoint4; local
1863 imgPoint4 = matrix * point;
1864 if (imgPoint4.x_ < COORD_MIN) {
1866 } else if (imgPoint4.x_ > COORD_MAX) {
1869 polygon[i].x_ = MATH_ROUND(imgPoint4.x_);
1872 if (imgPoint4.y_ < COORD_MIN) {
1874 } else if (imgPoint4.y_ > COORD_MAX) {
1877 polygon[i].y_ = MATH_ROUND(imgPoint4.y_);

Completed in 6 milliseconds