library: libCore #include "TPoint.h"

# TPoint

class description - source file - inheritance tree (.pdf)

## class TPoint

| Inheritance Chart:
`TPoint` |

        public:

                   TPoint()
                   TPoint(SCoord_t xy)
                   TPoint(SCoord_t x, SCoord_t y)
                   TPoint(const TPoint&)
                   ~TPoint()
          SCoord_t GetX() const
          SCoord_t GetY() const
           TPoint& operator=(const TPoint&)
              void SetX(SCoord_t x)
              void SetY(SCoord_t y)

### Data Members

        public:

          SCoord_t fX  X device coordinate
          SCoord_t fY  Y device coordinate

## Class Description

     TPoint

     TPoint implements a 2D screen (device) point (see also TPoints).

     Don't add in dictionary since that will add a virtual table pointer
     and that will destroy the data layout of an array of TPoint's which
     should match the layout of an array of XPoint's (so no extra copying
     needs to be done in the X11 drawing routines).

### Inline Functions

                void ~TPoint()
              TPoint TPoint()
              TPoint TPoint(SCoord_t xy)
              TPoint TPoint(SCoord_t x, SCoord_t y)
            SCoord_t GetX() const
            SCoord_t GetY() const
                void SetX(SCoord_t x)
                void SetY(SCoord_t y)
              TPoint TPoint(const TPoint&)
             TPoint& operator=(const TPoint&)

Last update: Wed Jun 8 00:10:28 2005
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *