|
| | ProgMemRaster (int16_t width, int16_t height, const uint8_t *PROGMEM ptr, const ColorMode &color_mode=ColorMode()) |
| |
| | ProgMemRaster (int16_t width, int16_t height, Box extents, const uint8_t *PROGMEM ptr, const ColorMode &color_mode=ColorMode()) |
| |
| | ProgMemRaster (Box extents, const uint8_t *PROGMEM ptr, const ColorMode &color_mode=ColorMode()) |
| |
| | ProgMemRaster (Box extents, Box anchor_extents, const uint8_t *PROGMEM ptr, const ColorMode &color_mode=ColorMode()) |
| |
| | Raster (int16_t width, int16_t height, PtrTypeT ptr, const ColorMode &color_mode=ColorMode()) |
| | Construct a raster for a width/height buffer.
|
| |
| | Raster (int16_t width, int16_t height, Box extents, PtrTypeT ptr, const ColorMode &color_mode=ColorMode()) |
| | Construct a raster with custom extents and buffer dimensions.
|
| |
| | Raster (Box extents, PtrTypeT ptr, const ColorMode &color_mode=ColorMode()) |
| | Construct a raster with extents and a buffer pointer.
|
| |
| | Raster (Box extents, Box anchor_extents, PtrTypeT ptr, const ColorMode &color_mode=ColorMode()) |
| | Construct a raster with extents and anchor extents.
|
| |
| 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.
|
| |
| ColorMode & | color_mode () |
| |
| const ColorMode & | color_mode () const |
| |
| std::unique_ptr< StreamType > | createRawStream () 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.
|
| |
| void | readColors (const int16_t *x, const int16_t *y, uint32_t count, Color *result) const override |
| | Read colors for the given points.
|
| |
| bool | readColorRect (int16_t xMin, int16_t yMin, int16_t xMax, int16_t yMax, Color *result) const override |
| | Read colors for a rectangle.
|
| |
| TransparencyMode | getTransparencyMode () const override |
| | Return the transparency mode for pixels in this stream.
|
| |
| TransparencyMode | transparency () const |
| |
| Color | get (int16_t x, int16_t y) const |
| |
| const PtrType | buffer () const |
| |
| void | readColorsMaybeOutOfBounds (const int16_t *x, const int16_t *y, uint32_t count, Color *result, Color out_of_bounds_color=color::Transparent) const |
| | Read colors for points that may be out of bounds.
|
| |
| std::unique_ptr< PixelStream > | createStream () const override |
| | Default createStream() using readColors().
|
| |
| std::unique_ptr< PixelStream > | createStream (const Box &bounds) const override |
| | Default createStream() for a clipped box using readColors().
|
| |
| virtual | ~Drawable () |
| |
Definition at line 475 of file raster.h.