|
roo_display
API Documentation for roo_display
|
Drawable JPEG image backed by a multipass resource. More...
#include <jpeg.h>
Public Member Functions | |
| JpegImage (JpegDecoder &decoder, roo_io::MultipassResource &resource) | |
| Create a JPEG image using a decoder and resource. | |
| Box | extents () const override |
| Return the bounding box encompassing all pixels that need to be drawn. | |
Public Member Functions inherited from roo_display::Drawable | |
| virtual | ~Drawable () |
| virtual Box | anchorExtents () const |
| Return the bounds used for alignment. | |
Additional Inherited Members | |
Static Public Member Functions inherited from roo_display::Drawable | |
| static const Drawable * | Empty () |
| A singleton representing a no-op drawable with no bounding box. | |
|
inline |
|
inlineoverridevirtual |
Return the bounding box encompassing all pixels that need to be drawn.
This method is called during a transaction and must not block or perform I/O.
Implements roo_display::Drawable.
Definition at line 61 of file jpeg.h.
Referenced by roo_display::JpegFile::extents().