Lines Matching defs:point

72 void UICanvas::MoveTo(const Point& point)
78 vertices_->MoveTo(point.x, point.y);
84 path_->startPos_ = point;
87 path_->points_.Tail()->data_ = point;
90 path_->points_.PushBack(point);
95 void UICanvas::LineTo(const Point& point)
101 vertices_->LineTo(point.x, point.y);
107 path_->points_.PushBack(point);
109 path_->startPos_ = point;
147 * CMD_ARC, the start point of arc must be connected to the end point of the path.
158 /* If the ARC scan range exceeds 360 degrees, the end point of the path is the position of the start angle. */
191 void UICanvas::AddRect(const Point& point, int16_t height, int16_t width)
198 int16_t right = static_cast<int16_t>(point.x + width);
199 int16_t bottom = point.y + height;
201 float fRight = static_cast<float>(width) + static_cast<float>(point.x);
202 float fBottom = static_cast<float>(height) + static_cast<float>(point.y);
211 MoveTo(point);
212 LineTo({right, point.y});
214 LineTo({point.x, bottom});
220 MoveTo(point);
221 LineTo({static_cast<int16_t>(point.x + width), point.y});
222 LineTo({static_cast<int16_t>(point.x + width), static_cast<int16_t>(point.y + height)});
223 LineTo({point.x, static_cast<int16_t>(point.y + height)});
1034 void UICanvas::GetAbsolutePosition(const Point& prePoint, const Rect& rect, const Style& style, Point& point)
1036 point.x = prePoint.x + rect.GetLeft() + style.paddingLeft_ + style.borderWidth_;
1037 point.y = prePoint.y + rect.GetTop() + style.paddingTop_ + style.borderWidth_;
1416 void UICanvas::StrokeText(const char* text, const Point& point, const FontStyle& fontStyle, const Paint& paint)
1431 textParam->position = point;
1439 SetStartPosition(point);