Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 110:39f22e0c8de4
- Parent:
- 108:7415c405ee08
- Parent:
- 109:7b94f06f085b
- Child:
- 111:efe436c43aba
--- a/RA8875.h Mon Mar 14 02:20:40 2016 +0000 +++ b/RA8875.h Sat Mar 19 20:49:14 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,