Miroslaw K. / Graphics

Dependents:   RadarDemo 3DDemo RadarDemoT

Embed: (wiki syntax)

« Back to documentation index

DisplayBase Class Reference

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]

Redurns screen height.

Returns:

Implemented in Canvas, and RK043FN48H.

virtual uint16_t DisplayWidth (  ) [pure virtual]

Returns screen width.

Returns:

Implemented in Canvas, and RK043FN48H.

virtual void SetClearColor ( uint8_t  red,
uint8_t  green,
uint8_t  blue,
uint8_t  alpha 
) [pure virtual]

Sets the color of the background.

Parameters:
redThe red.
greenThe green.
blueThe blue.
alphaThe 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:
redThe red.
greenThe green.
blueThe blue.
alphaThe alpha.

Implemented in Canvas, and RK043FN48H.