Boost.UI
User Interface Boost library
|
Go to the documentation of this file.
8 #ifndef BOOST_UI_COORD_IO_HPP
9 #define BOOST_UI_COORD_IO_HPP
13 #ifdef BOOST_HAS_PRAGMA_ONCE
25 template <
class T,
class CharT,
class Traits>
26 std::basic_ostream<CharT, Traits>&
29 return os <<
'(' << p.
width() <<
',' << p.
height() <<
')';
34 template <
class T,
class CharT,
class Traits>
35 std::basic_ostream<CharT, Traits>&
38 return os <<
'(' << p.
x() <<
',' << p.
y() <<
')';
43 template <
class T,
class CharT,
class Traits>
44 std::basic_ostream<CharT, Traits>&
47 return os <<
'(' << r.
x() <<
',' << r.
y() <<
',' << r.
width() <<
',' << r.
height() <<
')';
53 #endif // BOOST_UI_COORD_IO_HPP
T y() const
Returns y coordinate.
Definition: coord.hpp:179
2D point data structure with custom coordinates type
Definition: coord.hpp:119
T width() const
Returns width.
Definition: coord.hpp:372
Boost C++ libraries namespace.
Definition: window.hpp:19
std::basic_ostream< char, Traits > & operator<<(std::basic_ostream< char, Traits > &os, const uistring &str)
Writes string into the stream.
Definition: string_io.hpp:31
T height() const
Returns height.
Definition: coord.hpp:383
T x() const
Returns x coordinate.
Definition: coord.hpp:171
T x() const
Returns x coordinate.
Definition: coord.hpp:352
const T & height() const
Retruns height.
Definition: coord.hpp:74
const T & width() const
Retruns width.
Definition: coord.hpp:71
2D size of object data structure with custom coordinates type
Definition: coord.hpp:48
T y() const
Returns y coordinate.
Definition: coord.hpp:362
2D rectangle plane figure data structure with custom coordinates type
Definition: coord.hpp:259