#include <mxtype.h>
Public Member Functions | |
| Line () | |
| Line (Point p_1, Point p_2) | |
| Line (int start_x, int start_y, int stop_x, int stop_y) | |
| const int | x1 () const |
| const int | y1 () const |
| const int | x2 () const |
| const int | y2 () const |
Public Attributes | |
| Point | p1 |
| Point | p2 |
Definition at line 140 of file mxtype.h.
| mx::Line::Line | ( | int | start_x, | |
| int | start_y, | |||
| int | stop_x, | |||
| int | stop_y | |||
| ) | [inline] |
| const int mx::Line::x1 | ( | ) | const [inline] |
return x1
Definition at line 164 of file mxtype.h.
References p1, and mx::Point::x.
00164 { return p1.x; }
| const int mx::Line::x2 | ( | ) | const [inline] |
return x2
Definition at line 168 of file mxtype.h.
References p2, and mx::Point::x.
00168 { return p2.x; }
| const int mx::Line::y1 | ( | ) | const [inline] |
return y1
Definition at line 166 of file mxtype.h.
References p1, and mx::Point::y.
00166 { return p1.y; }
| const int mx::Line::y2 | ( | ) | const [inline] |
return y2
Definition at line 170 of file mxtype.h.
References p2, and mx::Point::y.
00170 { return p2.y; }
1.5.8