#include <DLPoint.h>
Public Member Functions | |
DLPoint () | |
DLPoint (const DLPoint &orig) | |
const DLPoint & | operator= (const DLPoint &right) |
bool | operator== (const DLPoint &right) |
virtual | ~DLPoint () |
DLPoint (int x1, int y1) | |
Public Attributes | |
int | x |
x-coordinate, or column, of the point. | |
int | y |
y-coordinate, or row, of the point. |
In a DLImage, the origin, (0,0), is located at the upper-left-hand corner of the image. The x-axis in the horizontal direction on the image, with values increasing as you go to the right. The y-axis is along the vertical direction on the image, with values increading as you head downwards.
Definition at line 21 of file DLPoint.h.
DLPoint::DLPoint | ( | ) | [inline] |
DLPoint::DLPoint | ( | const DLPoint & | orig | ) | [inline] |
virtual DLPoint::~DLPoint | ( | ) | [inline, virtual] |
DLPoint::DLPoint | ( | int | x1, | |
int | y1 | |||
) | [inline] |
bool DLPoint::operator== | ( | const DLPoint & | right | ) | [inline] |
int DLPoint::x |
x-coordinate, or column, of the point.
Definition at line 60 of file DLPoint.h.
Referenced by DLImage::dlAddImage(), DLImage::dlGetPixel(), DLImage::dlGetPixelValue(), DLImage::dlIsInside(), DLLineShape::DLLineShape(), DLImage::dlPasteImage(), DLImage::dlPasteInImage(), DLPoint(), DLRectShape::DLRectShape(), DLImage::dlSetPixel(), DLImage::dlSubtractImage(), operator=(), and operator==().
int DLPoint::y |
y-coordinate, or row, of the point.
Definition at line 65 of file DLPoint.h.
Referenced by DLImage::dlAddImage(), DLImage::dlGetPixel(), DLImage::dlGetPixelValue(), DLImage::dlIsInside(), DLLineShape::DLLineShape(), DLImage::dlPasteImage(), DLImage::dlPasteInImage(), DLPoint(), DLRectShape::DLRectShape(), DLImage::dlSetPixel(), DLImage::dlSubtractImage(), operator=(), and operator==().