Home
last modified time | relevance | path

Searched refs:polygon_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/
H A Dtransform.cpp43 polygon_ = rect; in TransformMap()
72 …int32_t c = (static_cast<int32_t>(polygon_[j].x_ - polygon_[i].x_) * (polygon_[k].y_ - polygon_[j]… in GetClockWise()
73 … (static_cast<int32_t>(polygon_[j].y_ - polygon_[i].y_) * (polygon_[k].x_ - polygon_[j].x_)); in GetClockWise()
89 polygon_ = rect; in SetTransMapRect()
117 if (polygon_[i].x_ != 0 || polygon_[i].y_ != 0) { in IsInvalid()
175 Polygon polygonTemp = polygon_; in GetOrigPoint()
180 polygon_ = rect; in GetOrigPoint()
210 Rect r = polygon_.MakeAABB(); in GetOrigPoint()
212 polygon_ = polygonTemp; in GetOrigPoint()
284 polygon_ = rect_; in SetMatrix()
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dtransform.h88 polygon_ = polygon; in SetPolygon()
99 return polygon_; in GetPolygon()
143 return polygon_.MakeAABB(); in GetBoxRect()
251 …Polygon polygon_ = Polygon(Rect(0, 0, 0, 0)); /* transformed from rect and 'rotate_' 'translate_' … variable