Lines Matching defs:Point
111 type summary add -s "x=${var.x}, y=${var.y}" curses::Point
116 struct Point {
120 Point(int _x = 0, int _y = 0) : x(_x), y(_y) {}
127 Point &operator+=(const Point &rhs) {
136 bool operator==(const Point &lhs, const Point &rhs) {
140 bool operator!=(const Point &lhs, const Point &rhs) {
166 Point origin;
171 Rect(const Point &p, const Size &s) : origin(p), size(s) {}
376 void CopyToSurface(Surface &target, Point source_origin, Point target_origin,
397 Rect GetFrame() const { return Rect(Point(), GetSize()); }
634 return Rect(Point(x, y), Size(width, height));
638 Point GetParentOrigin() const { return Point(GetParentX(), GetParentY()); }
641 void MoveWindow(int x, int y) { MoveWindow(Point(x, y)); }
646 void MoveWindow(const Point &origin) {
1787 Rect bounds = Rect(Point(0, line), Size(width, height));
2595 Rect bounds = Rect(Point(0, line), Size(width, height));
2610 Rect bounds = Rect(Point(x, 0), Size(width, 1));
2649 pad.CopyToSurface(surface, Point(0, m_first_visible_line), Point(),