DUDS
Distributed Update of Data from Something
BppImage.hpp File Reference
#include <vector>
#include <cstdint>
#include <type_traits>
#include <boost/exception/info.hpp>
Include dependency graph for BppImage.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  duds::ui::graphics::BppImage::Pixel::BoolProxy
 Retreives a pixel's state; used to allow Pixel to be dereferenced like any other iterator to get a bool for the pixel. More...
 
class  duds::ui::graphics::BppImage
 An image that uses a single bit to represent the state of each pixel; a black or white picture. More...
 
class  duds::ui::graphics::BppImage::ConstPixel::ConstBoolProxy
 Retreives a pixel's state; used to allow ConstPixel to be dereferenced like any other iterator to get a bool for the pixel. More...
 
class  duds::ui::graphics::BppImage::ConstPixel
 A forward iterator like class that visits each location of the image or a subset of the image. More...
 
struct  duds::ui::graphics::BppImage::ConstPixel::End
 
struct  duds::ui::graphics::BppImage::EndPixel
 Can be used as an end iterator to avoid making a whole iterator. More...
 
struct  duds::ui::graphics::ImageDimensions
 Stores the dimensions of an image. More...
 
struct  duds::ui::graphics::ImageLocation
 Stores a location within an image. More...
 
class  duds::ui::graphics::BppImage::Pixel
 A forward and output iterator that visits each location of the image. More...
 

Namespaces

 duds
 
 duds::ui
 Holds user interface related code.
 
 duds::ui::graphics
 General graphics related code.
 

Typedefs

typedef std::shared_ptr< BppImage > duds::ui::graphics::BppImageSptr
 
typedef std::weak_ptr< BppImage > duds::ui::graphics::BppImageWptr
 
typedef std::shared_ptr< const BppImage > duds::ui::graphics::ConstBppImageSptr
 
typedef std::weak_ptr< const BppImage > duds::ui::graphics::ConstBppImageWptr
 
typedef boost::error_info< struct Info_ImageDimensions, ImageDimensions > duds::ui::graphics::ImageErrorDimensions
 Image dimensions relevant to the error. More...
 
typedef boost::error_info< struct Info_ImageLocation, ImageLocation > duds::ui::graphics::ImageErrorLocation
 An image location relevant to the error. More...
 
typedef boost::error_info< struct Info_ImageDimensions, ImageDimensions > duds::ui::graphics::ImageErrorSourceDimensions
 Image dimensions for a source image relevant to the error. More...
 
typedef boost::error_info< struct Info_FrameDimensions, ImageDimensions > duds::ui::graphics::ImageErrorTargetDimensions
 Image dimensions for a target image relevant to the error. More...
 

Functions

ImageDimensions duds::ui::graphics::MaxExtent (const BppImage *i0, const BppImage *i1)
 Returns the maximum extent of the dimensions of two bit-per-pixel images. More...
 
ImageDimensions duds::ui::graphics::MaxExtent (const BppImage &i0, const BppImage &i1)
 Returns the maximum extent of the dimensions of two bit-per-pixel images. More...
 
ImageDimensions duds::ui::graphics::MaxExtent (const ConstBppImageSptr &i0, const ConstBppImageSptr &i1)
 Returns the maximum extent of the dimensions of two bit-per-pixel images. More...
 
std::ostream & duds::ui::graphics::operator<< (std::ostream &os, const ImageLocation &il)
 Writes an ImageLocation object to a stream in human readable form. More...
 
std::ostream & duds::ui::graphics::operator<< (std::ostream &os, const ImageDimensions &id)
 Writes an ImageDimensions object to a stream in human readable form. More...
 
void duds::ui::graphics::swap (ImageLocation &l0, ImageLocation &l1)
 Swaps the values of two ImageLocation objects. More...
 
void duds::ui::graphics::swap (ImageDimensions &d0, ImageDimensions &d1)
 Swaps the values of two ImageDimensions objects. More...
 
void duds::ui::graphics::swap (BppImage &bi0, BppImage &bi1)
 Support swap operations with the C++ standard library and BppImage objects. More...