[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppClxTPoint
It is defined in the header file Types.hpp.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppClxTPoint
(C++ CLX) TPoint
Class to store a pixel location.It is defined in the header file Types.hpp.
definition from Types.hpp
struct TPoint : public POINT
{
TPoint() {}
TPoint(int _x, int _y) { x=_x; y=_y; }
TPoint(POINT& pt)
{
x = pt.x;
y = pt.y;
}
};
Generate a 'drunk' cursor
TPoint here = Mouse->CursorPos; here.x += random(3)-1; here.y += random(3)-1; Mouse->CursorPos = here;
TPoint links
- C++ VCL TPoint
- Pascal CLX TPoint
- Pascal VCL TPoint
Other links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
