14 namespace duds {
namespace hardware {
namespace display {
const ImageDimensions & dimensions() const
Returns the dimensions of the image.
virtual void outputFrame(const duds::ui::graphics::BppImage *img)=0
Writes out the given image to the display and updates the image in frmbuf to match.
The specified display size is unsupported, or there is a display size mismatch.
boost::error_info< struct Info_ImageDimensions, ImageDimensions > ImageErrorSourceDimensions
Image dimensions for a source image relevant to the error.
void write(const duds::ui::graphics::BppImage *img)
Writes the new image to the display.
duds::ui::graphics::BppImage frmbuf
The frame buffer.
#define DUDS_THROW_EXCEPTION(x)
Works like BOOST_THROW_EXCEPTION, but includes a stack trace if DUDS_ERRORS_VERBOSE is defined...
An image that uses a single bit to represent the state of each pixel; a black or white picture...
boost::error_info< struct Info_FrameDimensions, ImageDimensions > ImageErrorTargetDimensions
Image dimensions for a target image relevant to the error.