Home | Libraries | People | FAQ | More |
boost::ui::basic_size — 2D size of object data structure with custom coordinates type
// In header: <boost/ui/coord.hpp> template<typename T> class basic_size { public: // construct/copy/destruct basic_size(); basic_size(const T &, const T &); template<typename D> explicit basic_size(const basic_size< D > &); // public member functions const T & width() const; const T & height() const; };
basic_size
public
construct/copy/destructbasic_size();Constructs empty size object.
basic_size(const T & width, const T & height);Constructs size with width and height.
template<typename D> explicit basic_size(const basic_size< D > & s);Constructs size with an other size object.