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.
Dependents: RadarDemo 3DDemo RadarDemoT
DisplayBase Class Reference
Graphics display abstract base class. More...
#include <DisplayBase.h>
Inherited by Display.
Public Member Functions | |
virtual uint16_t | DisplayWidth ()=0 |
Returns screen width. | |
virtual uint16_t | DisplayHeight ()=0 |
Redurns screen height. | |
virtual void | SetDrawColor (uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha)=0 |
Sets the color of the foreground. | |
virtual void | SetClearColor (uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha)=0 |
Sets the color of the background. | |
virtual void | Clear ()=0 |
Clears the display. |
Detailed Description
Graphics display abstract base class.
Definition at line 25 of file DisplayBase.h.
Member Function Documentation
virtual void Clear | ( | ) | [pure virtual] |
Clears the display.
Implemented in Canvas, and RK043FN48H.
virtual uint16_t DisplayHeight | ( | ) | [pure virtual] |
virtual uint16_t DisplayWidth | ( | ) | [pure virtual] |
virtual void SetClearColor | ( | uint8_t | red, |
uint8_t | green, | ||
uint8_t | blue, | ||
uint8_t | alpha | ||
) | [pure virtual] |
Sets the color of the background.
- Parameters:
-
red The red. green The green. blue The blue. alpha The alpha.
Implemented in Canvas, and RK043FN48H.
virtual void SetDrawColor | ( | uint8_t | red, |
uint8_t | green, | ||
uint8_t | blue, | ||
uint8_t | alpha | ||
) | [pure virtual] |
Sets the color of the foreground.
- Parameters:
-
red The red. green The green. blue The blue. alpha The alpha.
Implemented in Canvas, and RK043FN48H.
Generated on Thu Jul 14 2022 02:25:58 by
