Forked para SNOCC
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 109:7b94f06f085b
- Parent:
- 107:f9ccffcb84f1
- Child:
- 110:39f22e0c8de4
diff -r f9ccffcb84f1 -r 7b94f06f085b RA8875.h --- a/RA8875.h Sat Mar 05 16:20:11 2016 +0000 +++ b/RA8875.h Sat Mar 05 19:22:13 2016 +0000 @@ -1367,6 +1367,26 @@ /// virtual RetCode_t getPixelStream(color_t * p, uint32_t count, loc_t x, loc_t y); + /// Write a boolean stream to the display. + /// + /// This takes a bit stream in memory and using the current color settings + /// it will stream it to the display. Along the way, each bit is translated + /// to either the foreground or background color value and then that pixel + /// is pushed onward. + /// + /// This is similar, but different, to the @ref pixelStream API, which is + /// given a stream of color values. + /// + /// @param[in] x is the horizontal position on the display. + /// @param[in] y is the vertical position on the display. + /// @param[in] w is the width of the rectangular region to fill. + /// @param[in] h is the height of the rectangular region to fill. + /// @param[in] boolStream is the inline memory image from which to extract + /// the bitstream. + /// @returns success/failure code. See @ref RetCode_t. + /// + virtual RetCode_t booleanStream(loc_t x, loc_t y, dim_t w, dim_t h, const uint8_t * boolStream); + /// Draw a line in the specified color /// /// @note As a side effect, this changes the current @@ -2188,6 +2208,7 @@ PRF_CLS, PRF_DRAWPIXEL, PRF_PIXELSTREAM, + PRF_BOOLSTREAM, PRF_READPIXEL, PRF_READPIXELSTREAM, PRF_DRAWLINE,