NOCL  v0.1.0-2524
Modern C++ Class Library for GUI Projects
nocl::Point Class Reference

The position (x and y offsets) associated with an object. More...

#include <Point.hpp>

Collaboration diagram for nocl::Point:

Public Member Functions

 ~Point (void)
 Destructor. More...
 
 Point (void)
 Constructor. More...
 
 Point (const int xx, const int yy)
 Constructor. More...
 
 Point (const GdkPoint &p)
 Construct from a GDK+ point. More...
 
 operator GdkPoint (void) const
 Obtain a GDK+ point. More...
 

Public Attributes

int x
 Width. More...
 
int y
 Height. More...
 

Detailed Description

The position (x and y offsets) associated with an object.

Constructor & Destructor Documentation

◆ ~Point()

nocl::Point::~Point ( void  )

Destructor.

◆ Point() [1/3]

nocl::Point::Point ( void  )

Constructor.

◆ Point() [2/3]

nocl::Point::Point ( const int  xx,
const int  yy 
)

Constructor.

◆ Point() [3/3]

nocl::Point::Point ( const GdkPoint &  p)

Construct from a GDK+ point.

Member Function Documentation

◆ operator GdkPoint()

nocl::Point::operator GdkPoint ( void  ) const

Obtain a GDK+ point.

References x, and y.

Member Data Documentation

◆ x

int nocl::Point::x

Width.

Referenced by operator GdkPoint().

◆ y

int nocl::Point::y

Height.

Referenced by operator GdkPoint().


The documentation for this class was generated from the following files: