[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppVclTPoint
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppVclTPoint
(C++ VCL) TPoint
Class to store a pixel location.
//Forward declaration
namespace Types{ class TPoint; }
//#include
- include <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++ CLX
- C++ Builder
- Pascal VCL
- Pascal CLX
Related data types
- CPoint
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
