Boost.UI
User Interface Boost library
Classes | Namespaces | Macros | Typedefs
coord.hpp File Reference

Coordinates classes. More...

Include dependency graph for coord.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  boost::ui::basic_size< T >
 2D size of object data structure with custom coordinates type More...
 
class  boost::ui::basic_point< T >
 2D point data structure with custom coordinates type More...
 
class  boost::ui::basic_rect< T >
 2D rectangle plane figure data structure with custom coordinates type More...
 

Namespaces

 boost
 Boost C++ libraries namespace.
 
 boost::ui
 Boost.UI library namespace.
 

Macros

#define BOOST_UI_USE_GEOMETRY
 Enables Boost.Geometry.
 
#define BOOST_UI_USE_POLYGON
 Enables Boost.Polygon.
 

Typedefs

typedef int boost::ui::coord_type
 Widget coordinates signed number type.
 
typedef basic_size< coord_type > boost::ui::size
 2D size coordinates
 
typedef basic_point< coord_type > boost::ui::point
 2D point coordinates
 
typedef basic_rect< coord_type > boost::ui::rect
 2D rectangle coordinates
 

Functions

template<class T >
basic_size< T > boost::ui::operator* (const T &value, const basic_size< T > &rhs)
 Arithmetic operation.
 
template<class T >
basic_size< T > boost::ui::operator* (const basic_size< T > &lhs, const T &value)
 Arithmetic operation.
 
template<class T >
basic_size< T > boost::ui::operator/ (const basic_size< T > &lhs, const T &value)
 Arithmetic operation.
 
template<class T >
basic_point< T > boost::ui::operator+ (const basic_point< T > &lhs, const basic_size< T > &rhs)
 Arithmetic operation.
 
template<class T >
basic_point< T > boost::ui::operator- (const basic_point< T > &lhs, const basic_size< T > &rhs)
 Arithmetic operation.
 
template<class T >
basic_size< T > boost::ui::operator- (const basic_point< T > &lhs, const basic_point< T > &rhs)
 Arithmetic operation.
 
template<class T >
basic_size< T > boost::ui::operator* (const T &value, const basic_size< T > &rhs)
 Arithmetic operation.
 
template<class T >
basic_size< T > boost::ui::operator* (const basic_size< T > &lhs, const T &value)
 Arithmetic operation.
 
template<class T >
basic_size< T > boost::ui::operator/ (const basic_size< T > &lhs, const T &value)
 Arithmetic operation.
 
template<class T >
basic_point< T > boost::ui::operator+ (const basic_point< T > &lhs, const basic_size< T > &rhs)
 Arithmetic operation.
 
template<class T >
basic_point< T > boost::ui::operator- (const basic_point< T > &lhs, const basic_size< T > &rhs)
 Arithmetic operation.
 
template<class T >
basic_size< T > boost::ui::operator- (const basic_point< T > &lhs, const basic_point< T > &rhs)
 Arithmetic operation.
 

Detailed Description

Coordinates classes.