* A geometric point class. * Point is exactly the same as the Win32 POINT and GTK+ GdkPoint so can be used interchangeably. */
| 89 | * Point is exactly the same as the Win32 POINT and GTK+ GdkPoint so can be used interchangeably. |
| 90 | */ |
| 91 | class Point { |
| 92 | public: |
| 93 | XYPOSITION x; |
| 94 | XYPOSITION y; |
| 95 | |
| 96 | explicit Point(XYPOSITION x_=0, XYPOSITION y_=0) : x(x_), y(y_) { |
| 97 | } |
| 98 | |
| 99 | // Other automatically defined methods (assignment, copy constructor, destructor) are fine |
| 100 | |
| 101 | static Point FromLong(long lpoint); |
| 102 | }; |
| 103 | |
| 104 | /** |
| 105 | * A geometric rectangle class. |
no outgoing calls
no test coverage detected