|
roo_display
API Documentation for roo_display
|
#include <raw_streamable.h>
Public Member Functions | |
| DrawableRawStreamable (RawStreamable streamable) | |
| DrawableRawStreamable (DrawableRawStreamable &&other) | |
| Box | extents () const override |
| Return the bounding box encompassing all pixels that need to be drawn. | |
| Box | anchorExtents () const override |
| Return the bounds used for alignment. | |
| const RawStreamable & | contents () const |
| std::unique_ptr< PixelStream > | createStream () const override |
Create a stream covering the full extents(). | |
| std::unique_ptr< PixelStream > | createStream (const Box &bounds) const override |
| Create a stream for the given clipped bounds. | |
| decltype(std::declval< RawStreamable >().createRawStream()) | createRawStream () const |
Public Member Functions inherited from roo_display::Streamable | |
| virtual TransparencyMode | getTransparencyMode () const |
| Return the transparency mode for pixels in this stream. | |
Public Member Functions inherited from roo_display::Drawable | |
| virtual | ~Drawable () |
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. | |
Definition at line 280 of file raw_streamable.h.
|
inline |
Definition at line 282 of file raw_streamable.h.
|
inline |
Definition at line 285 of file raw_streamable.h.
|
inlineoverridevirtual |
Return the bounds used for alignment.
Defaults to extents(). Some drawables (notably text labels) may want different alignment bounds.
This method is called during a transaction and must not block or perform I/O.
Reimplemented from roo_display::Drawable.
Definition at line 290 of file raw_streamable.h.
|
inline |
Definition at line 292 of file raw_streamable.h.
|
inline |
Definition at line 306 of file raw_streamable.h.
|
inlineoverridevirtual |
Create a stream covering the full extents().
Implements roo_display::Streamable.
Definition at line 294 of file raw_streamable.h.
|
inlineoverridevirtual |
Create a stream for the given clipped bounds.
Implements roo_display::Streamable.
Definition at line 300 of file raw_streamable.h.
References roo_display::CreateClippedRawStreamFor().
|
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 288 of file raw_streamable.h.