Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Public Member Functions | List of all members
mir::geometry::Rectangles Class Reference

#include <rectangles.h>

Public Types

typedef std::vector< Rectangle >
::const_iterator 
const_iterator
 
typedef std::vector< Rectangle >
::size_type 
size_type
 

Public Member Functions

 Rectangles ()
 
 Rectangles (std::initializer_list< Rectangle > const &rects)
 
void add (Rectangle const &rect)
 
void clear ()
 
Rectangle bounding_rectangle () const
 
void confine (Point &point) const
 
const_iterator begin () const
 
const_iterator end () const
 
size_type size () const
 
bool operator== (Rectangles const &rect) const
 
bool operator!= (Rectangles const &rect) const
 

Detailed Description

Examples:
render_surfaces.cpp.

Member Typedef Documentation

Constructor & Destructor Documentation

mir::geometry::Rectangles::Rectangles ( )
mir::geometry::Rectangles::Rectangles ( std::initializer_list< Rectangle > const &  rects)

Member Function Documentation

void mir::geometry::Rectangles::add ( geom::Rectangle const &  rect)
Examples:
render_surfaces.cpp.
geom::Rectangles::const_iterator mir::geometry::Rectangles::begin ( ) const
geom::Rectangle mir::geometry::Rectangles::bounding_rectangle ( ) const
Examples:
render_surfaces.cpp.
void mir::geometry::Rectangles::clear ( )
void mir::geometry::Rectangles::confine ( geom::Point point) const
geom::Rectangles::const_iterator mir::geometry::Rectangles::end ( ) const
bool mir::geometry::Rectangles::operator!= ( Rectangles const &  rect) const
bool mir::geometry::Rectangles::operator== ( Rectangles const &  rect) const
geom::Rectangles::size_type mir::geometry::Rectangles::size ( ) const

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013