struct axl::gui::Point

#include <axl_gui_Def.h>

struct Point
{
    // fields

    union
    {
        struct
        {
            int m_x;
            int m_y;
        };

        struct
        {
            uint_t m_x_u;
            uint_t m_y_u;
        };
    };

    // construction

    Point();

    Point(
        int x,
        int y
        );

    // methods

    Point
    operator+(const Point& point2);

    Point
    operator-(const Point& point2);

    void
    setup(
        int x,
        int y
        );

    void
    clipNegative();
};