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:
- 87:ee2240581aa7
- Parent:
- 86:e86b355940f4
- Child:
- 88:bfddef6ec836
--- a/RA8875.h Sat Jan 17 20:59:51 2015 +0000 +++ b/RA8875.h Mon Jan 19 13:32:56 2015 +0000 @@ -1214,6 +1214,23 @@ /// @returns the current foreground color. /// color_t GetForeColor(void); + + /// Draw a pixel in the specified color. + /// + /// @note Unlike many other operations, this does not + /// set the forecolor! + /// + /// @param[in] p is the point_t defining the location. + /// @returns success/failure code. @see RetCode_t. + /// + virtual RetCode_t pixel(point_t p, color_t color); + + /// Draw a pixel in the current foreground color. + /// + /// @param[in] p is the point_t defining the location. + /// @returns success/failure code. @see RetCode_t. + /// + virtual RetCode_t pixel(point_t p); /// Draw a pixel in the specified color. ///