Pervasive Displays Library Suite - Reference Manual 9.0.3
Library for Pervasive Displays e-paper screens, extension boards and development kits
Loading...
Searching...
No Matches
hV_Screen_Virtual Class Referenceabstract

Generic screen virtual class. More...

#include <hV_Screen_Virtual.h>

Inheritance diagram for hV_Screen_Virtual:

Public Member Functions

 hV_Screen_Virtual ()=default
 Constructor.
 
 ~hV_Screen_Virtual ()=default
 Destructor.
 
virtual void setMarginXY (uint16_t marginX=0, uint16_t marginY=0)=0
 Set margins for logical screen.
 
virtual uint16_t screenMarginX ()=0
 Margin size, x-axis.
 
virtual uint16_t screenMarginY ()=0
 Margin size, y-axis.
 
General
virtual void begin ()=0
 Initialisation.
 
virtual STRING_TYPE WhoAmI ()=0
 Request information about the screen.
 
virtual void clear (uint16_t colour=myColours.black)=0
 Clear the screen.
 
virtual void flush ()=0
 Send frame-buffer to display.
 
virtual void setOrientation (uint8_t orientation)=0
 Set orientation.
 
virtual uint8_t getOrientation ()=0
 Get orientation.
 
virtual uint16_t screenSizeX ()=0
 Screen size, x-axis.
 
virtual uint16_t screenSizeY ()=0
 Screen size, y-axis.
 
virtual uint16_t screenDiagonal ()=0
 Screen size, diagonal.
 
virtual uint8_t screenColourBits ()=0
 Screen colour depth.
 
Standard graphics
virtual void circle (uint16_t x0, uint16_t y0, uint16_t radius, uint16_t colour)=0
 Draw circle.
 
virtual void line (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t colour)=0
 Draw line, rectangle coordinates.
 
virtual void setPenSolid (bool flag=true)=0
 Set pen opaque.
 
virtual bool getPenSolid ()=0
 Get pen mode.
 
virtual void triangle (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t x3, uint16_t y3, uint16_t colour)=0
 Draw triangle, rectangle coordinates.
 
virtual void rectangle (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t colour)=0
 Draw rectangle, rectangle coordinates.
 
virtual void roundedRectangle (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t radius, uint16_t colour)=0
 Draw rectangle, rectangle coordinates.
 
virtual void point (uint16_t x1, uint16_t y1, uint16_t colour)=0
 Draw pixel.
 
Advanced graphics
virtual void arc (uint16_t x0, uint16_t y0, uint16_t radius, uint16_t start, uint16_t end, uint16_t colour)=0
 Draw arc.
 
virtual void level (uint16_t x0, uint16_t y0, uint16_t radius, uint16_t start, uint16_t end, uint16_t colour)=0
 Draw level in a circle.
 
virtual void ring (uint16_t x0, uint16_t y0, uint16_t inner, uint16_t outer, uint16_t colour)=0
 Draw ring.
 
Vector coordinates
virtual void dLine (uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy, uint16_t colour)=0
 Draw line, vector coordinates.
 
virtual void dRectangle (uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy, uint16_t colour)=0
 Draw rectangle, vector coordinates.
 
virtual void dRoundedRectangle (uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy, uint16_t radius, uint16_t colour)=0
 Draw rounded rectangle, vector coordinates.
 
Text
virtual void setFontSolid (bool flag=true)=0
 Set transparent or opaque text.
 
virtual uint16_t characterSizeX (uint8_t character=0x00)=0
 Character size, x-axis.
 
virtual uint16_t characterSizeY ()=0
 Character size, y-axis.
 
virtual uint16_t stringSizeX (STRING_CONST_TYPE text)=0
 String size, x-axis.
 
virtual uint8_t stringLengthToFitX (STRING_CONST_TYPE text, uint16_t pixels)=0
 Number of characters to fit a size, x-axis.
 
virtual void gText (uint16_t x0, uint16_t y0, STRING_CONST_TYPE text, uint16_t textColour=myColours.white, uint16_t backColour=myColours.black)=0
 Draw ASCII Text (pixel coordinates)
 
virtual void selectFont (uint8_t font)=0
 Select font.
 
virtual uint8_t getFont ()=0
 Get font number.
 
virtual uint8_t fontMax ()=0
 Number of fonts.
 
Energy features
virtual bool isEnergy ()=0
 Does the screen provide energy features?
 
virtual bool isIntensity ()=0
 Is screen backlight variable?
 
virtual void setBacklight (bool state)=0
 Turn display backlight on or off.
 
virtual void setIntensity (uint8_t intensity)=0
 Set display backlight intensity.
 
virtual uint8_t getIntensity ()=0
 Get display backlight intensity.
 
virtual void setEnergy (uint32_t seconds=3)=0
 Set delay for power saving.
 
virtual void updateEnergy (bool state)=0
 Update power saving.
 
Advanced features
virtual bool isReadable ()=0
 Is screen readable?
 
virtual bool isStorage ()=0
 Does the screen feature an external storage?
 
virtual uint16_t readPixel (uint16_t x1, uint16_t y1)=0
 Read pixel colour.
 
virtual void copyPasteArea (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t dx, uint16_t dy)=0
 Copy a source area to a target area.
 
virtual void copyArea (uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy, uint32_t &address)=0
 Copy an area to an external support.
 
virtual void pasteArea (uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy, uint32_t &address, bool option=false)=0
 Paste an area from an external support.
 
Fast area features

Specific to each controller

virtual bool isArea ()=0
 Is area available?
 
virtual void openArea (uint16_t x0, uint16_t y0, uint16_t dx, uint16_t dy)=0
 Open an area for fast sequential writing.
 
virtual void feedArea (uint16_t colour)=0
 Feed the area with colour.
 
virtual void closeArea ()=0
 Close the area previously opened.
 
Touch
virtual bool isTouch ()=0
 Is touch available?
 
virtual bool isTouchEvent ()=0
 Are touch events available?
 
virtual bool getTouch (touch_t &touch)=0
 Poll touch.
 
virtual void clearTouch ()=0
 Clear touch.
 
virtual void calibrateTouch ()=0
 Calibrate the touch.
 

Detailed Description

Generic screen virtual class.

This class provides the virtual functions for the screens

Member Function Documentation

◆ arc()

virtual void hV_Screen_Virtual::arc ( uint16_t x0,
uint16_t y0,
uint16_t radius,
uint16_t start,
uint16_t end,
uint16_t colour )
pure virtual

Draw arc.

Parameters
x0center, point coordinate, x-axis
y0center, point coordinate, y-axis
radiusradius
startstarting angle, in degrees
endending angle, in degrees
colour16-bit colour
Note
If ending angle < starting angle, then starting angle..360 and 0..starting angle arcs are drawn

Implemented in hV_Screen_Buffer.

◆ begin()

virtual void hV_Screen_Virtual::begin ( )
pure virtual

Initialisation.

Warning
Definition for this method is compulsory.

Implemented in hV_Screen_Buffer, and Screen_EPD.

◆ characterSizeX()

virtual uint16_t hV_Screen_Virtual::characterSizeX ( uint8_t character = 0x00)
pure virtual

Character size, x-axis.

Parameters
charactercharacter to evaluate, default = 0 = font general size
Returns
horizontal size of the font for the specified character, in pixels
Note
With setSpaceX included
In variable font, each character has a specific size. The general size is indicative.
Previously fontSizeX()
More: Fonts

Implemented in hV_Screen_Buffer.

◆ characterSizeY()

virtual uint16_t hV_Screen_Virtual::characterSizeY ( )
pure virtual

Character size, y-axis.

Returns
vertical size for current font, in pixels
Note
Previously fontSizeY()
More: Fonts

Implemented in hV_Screen_Buffer.

◆ circle()

virtual void hV_Screen_Virtual::circle ( uint16_t x0,
uint16_t y0,
uint16_t radius,
uint16_t colour )
pure virtual

Draw circle.

Parameters
x0center, point coordinate, x-axis
y0center, point coordinate, y-axis
radiusradius
colour16-bit colour

Implemented in hV_Screen_Buffer.

◆ clear()

virtual void hV_Screen_Virtual::clear ( uint16_t colour = myColours.black)
pure virtual

Clear the screen.

Parameters
colour16-bit colour, default = black

Implemented in hV_Screen_Buffer, and Screen_EPD.

◆ copyArea()

virtual void hV_Screen_Virtual::copyArea ( uint16_t x0,
uint16_t y0,
uint16_t dx,
uint16_t dy,
uint32_t & address )
pure virtual

Copy an area to an external support.

Parameters
x0source top left coordinate, x-axis
y0source top left coordinate, y-axis
dxwidth to be copied, x-axis
dyheight to be copied, y-axis
addressidentifier, as SRAM address or file number
Note
This feature requires a readable screen and a storage.


More: Coordinates, Screen, Storage

Implemented in hV_Screen_Buffer.

◆ copyPasteArea()

virtual void hV_Screen_Virtual::copyPasteArea ( uint16_t x1,
uint16_t y1,
uint16_t x2,
uint16_t y2,
uint16_t dx,
uint16_t dy )
pure virtual

Copy a source area to a target area.

Parameters
x1source top left coordinate, x-axis
y1source top left coordinate, y-axis
x2target top left coordinate, x-axis
y2target top left coordinate, y-axis
dxwidth to be copied, x-axis
dyheight to be copied, y-axis
Note
This feature requires a readable screen.
Warning
The function does not manage the overlapping of the source and target areas. If such a case, use copyArea() pasteArea() instead.


More: Coordinates, Screen

Implemented in hV_Screen_Buffer.

◆ dLine()

virtual void hV_Screen_Virtual::dLine ( uint16_t x0,
uint16_t y0,
uint16_t dx,
uint16_t dy,
uint16_t colour )
pure virtual

Draw line, vector coordinates.

Parameters
x0point coordinate, x-axis
y0point coordinate, y-axis
dxlength, x-axis
dyheight, y-axis
colour16-bit colour


More: Coordinates, Colours

Implemented in hV_Screen_Buffer.

◆ dRectangle()

virtual void hV_Screen_Virtual::dRectangle ( uint16_t x0,
uint16_t y0,
uint16_t dx,
uint16_t dy,
uint16_t colour )
pure virtual

Draw rectangle, vector coordinates.

Parameters
x0point coordinate, x-axis
y0point coordinate, y-axis
dxlength, x-axis
dyheight, y-axis
colour16-bit colour


More: Coordinates, Colours

Implemented in hV_Screen_Buffer.

◆ dRoundedRectangle()

virtual void hV_Screen_Virtual::dRoundedRectangle ( uint16_t x0,
uint16_t y0,
uint16_t dx,
uint16_t dy,
uint16_t radius,
uint16_t colour )
pure virtual

Draw rounded rectangle, vector coordinates.

Parameters
x0point coordinate, x-axis
y0point coordinate, y-axis
dxlength, x-axis
dyheight, y-axis
radiusradius for rounded corners, pixels
colour16-bit colour


More: Coordinates, Colours

Implemented in hV_Screen_Buffer.

◆ feedArea()

virtual void hV_Screen_Virtual::feedArea ( uint16_t colour)
pure virtual

Feed the area with colour.

Maximum dx*dy pixels, no check

Parameters
colour16-bit colour
Note
Pixels are displayed from left to right, top to bottom


More: Colours

Implemented in hV_Screen_Buffer.

◆ fontMax()

virtual uint8_t hV_Screen_Virtual::fontMax ( )
pure virtual

Number of fonts.

Returns
number of fonts available
Note
First font is numbered 0, second 1, ...
The latest font is numbered fontMax()-1

Implemented in hV_Screen_Buffer.

◆ getFont()

virtual uint8_t hV_Screen_Virtual::getFont ( )
pure virtual

Get font number.

Returns
Number of the font, 0..fontMax()-1
Warning
Definition for this method is compulsory.

Implemented in hV_Screen_Buffer.

◆ getIntensity()

virtual uint8_t hV_Screen_Virtual::getIntensity ( )
pure virtual

Get display backlight intensity.

Returns
intensity 0..255
Note
Feature specific to the SSD1963 and 4D Systems Diablo16

Implemented in hV_Screen_Buffer.

◆ getOrientation()

virtual uint8_t hV_Screen_Virtual::getOrientation ( )
pure virtual

Get orientation.

Returns
orientation orientation,
  • 0 = default
  • 1 = right rotated
  • 2 = reverse default
  • 3 = left rotated

Implemented in hV_Screen_Buffer.

◆ getPenSolid()

virtual bool hV_Screen_Virtual::getPenSolid ( )
pure virtual

Get pen mode.

Returns
true = solid or opaque pen, false = transparent pen

Implemented in hV_Screen_Buffer.

◆ getTouch()

virtual bool hV_Screen_Virtual::getTouch ( touch_t & touch)
pure virtual

Poll touch.

Parameters
[out]touchtouch struture
Returns
true if touch pressed or moved


More: Coordinates, Touch

Implemented in hV_Screen_Buffer.

◆ gText()

virtual void hV_Screen_Virtual::gText ( uint16_t x0,
uint16_t y0,
STRING_CONST_TYPE text,
uint16_t textColour = myColours.white,
uint16_t backColour = myColours.black )
pure virtual

Draw ASCII Text (pixel coordinates)

Parameters
x0point coordinate, x-axis
y0point coordinate, y-axis
texttext string
textColour16-bit colour, default = white
backColour16-bit colour, default = black


More: Colours, Fonts

Implemented in hV_Screen_Buffer.

◆ isArea()

virtual bool hV_Screen_Virtual::isArea ( )
pure virtual

Is area available?

Returns
if area available, false otherwise

Implemented in hV_Screen_Buffer.

◆ isEnergy()

virtual bool hV_Screen_Virtual::isEnergy ( )
pure virtual

Does the screen provide energy features?

Returns
true is energy featured, false otherwise


More: Energy

Implemented in hV_Screen_Buffer.

◆ isIntensity()

virtual bool hV_Screen_Virtual::isIntensity ( )
pure virtual

Is screen backlight variable?

Returns
true is backlight variable, false otherwise


More: Screen

Implemented in hV_Screen_Buffer.

◆ isReadable()

virtual bool hV_Screen_Virtual::isReadable ( )
pure virtual

Is screen readable?

Returns
true is screen readable, false otherwise


More: Screen

Implemented in hV_Screen_Buffer.

◆ isStorage()

virtual bool hV_Screen_Virtual::isStorage ( )
pure virtual

Does the screen feature an external storage?

Returns
true is storage available, false otherwise


More: Storage

Implemented in hV_Screen_Buffer.

◆ isTouch()

virtual bool hV_Screen_Virtual::isTouch ( )
pure virtual

Is touch available?

Returns
true is touch available, false otherwise

Implemented in hV_Screen_Buffer.

◆ isTouchEvent()

virtual bool hV_Screen_Virtual::isTouchEvent ( )
pure virtual

Are touch events available?

Returns
true if touch events available, false otherwise

Implemented in hV_Screen_Buffer.

◆ level()

virtual void hV_Screen_Virtual::level ( uint16_t x0,
uint16_t y0,
uint16_t radius,
uint16_t start,
uint16_t end,
uint16_t colour )
pure virtual

Draw level in a circle.

Parameters
x0center, point coordinate, x-axis
y0center, point coordinate, y-axis
radiusradius
startstarting angle, in degrees
endending angle, in degrees
colour16-bit colour
Note
Angles: 0 <= starting angle < ending angle <= 180

Implemented in hV_Screen_Buffer.

◆ line()

virtual void hV_Screen_Virtual::line ( uint16_t x1,
uint16_t y1,
uint16_t x2,
uint16_t y2,
uint16_t colour )
pure virtual

Draw line, rectangle coordinates.

Parameters
x1top left coordinate, x-axis
y1top left coordinate, y-axis
x2bottom right coordinate, x-axis
y2bottom right coordinate, y-axis
colour16-bit colour

Implemented in hV_Screen_Buffer.

◆ openArea()

virtual void hV_Screen_Virtual::openArea ( uint16_t x0,
uint16_t y0,
uint16_t dx,
uint16_t dy )
pure virtual

Open an area for fast sequential writing.

Parameters
x0source top left coordinate, x-axis
y0source top left coordinate, y-axis
dxtarget to be pasted, x-axis
dytarget to be pasted, y-axis


More: Coordinates

Implemented in hV_Screen_Buffer.

◆ pasteArea()

virtual void hV_Screen_Virtual::pasteArea ( uint16_t x0,
uint16_t y0,
uint16_t dx,
uint16_t dy,
uint32_t & address,
bool option = false )
pure virtual

Paste an area from an external support.

Parameters
x0source top left coordinate, x-axis
y0source top left coordinate, y-axis
dxtarget to be pasted, x-axis
dytarget to be pasted, y-axis
addressidentifier, as SRAM address or file number
optionfalse = default = original colours, true = halved colours
Note
This feature requires a readable screen and a storage.


More: Coordinates, Screen, Storage

Implemented in hV_Screen_Buffer.

◆ point()

virtual void hV_Screen_Virtual::point ( uint16_t x1,
uint16_t y1,
uint16_t colour )
pure virtual

Draw pixel.

Parameters
x1point coordinate, x-axis
y1point coordinate, y-axis
colour16-bit colour


More: Coordinates, Colours

Implemented in hV_Screen_Buffer.

◆ readPixel()

virtual uint16_t hV_Screen_Virtual::readPixel ( uint16_t x1,
uint16_t y1 )
pure virtual

Read pixel colour.

Parameters
x1point coordinate, x-axis
y1point coordinate, y-axis
Returns
16-bit colour, bits 15-11 red, bits 10-5 green, bits 4-0 blue
Note
This feature requires a readable screen.


More: Coordinates, Colours, Screen

Implemented in hV_Screen_Buffer.

◆ rectangle()

virtual void hV_Screen_Virtual::rectangle ( uint16_t x1,
uint16_t y1,
uint16_t x2,
uint16_t y2,
uint16_t colour )
pure virtual

Draw rectangle, rectangle coordinates.

Parameters
x1top left coordinate, x-axis
y1top left coordinate, y-axis
x2bottom right coordinate, x-axis
y2bottom right coordinate, y-axis
colour16-bit colour


More: Coordinates, Colours

Implemented in hV_Screen_Buffer.

◆ ring()

virtual void hV_Screen_Virtual::ring ( uint16_t x0,
uint16_t y0,
uint16_t inner,
uint16_t outer,
uint16_t colour )
pure virtual

Draw ring.

Parameters
x0center, point coordinate, x-axis
y0center, point coordinate, y-axis
innerinner radius
outerouter radius
colour16-bit colour
Note
inner radius < outer radius

Implemented in hV_Screen_Buffer.

◆ roundedRectangle()

virtual void hV_Screen_Virtual::roundedRectangle ( uint16_t x1,
uint16_t y1,
uint16_t x2,
uint16_t y2,
uint16_t radius,
uint16_t colour )
pure virtual

Draw rectangle, rectangle coordinates.

Parameters
x1top left coordinate, x-axis
y1top left coordinate, y-axis
x2bottom right coordinate, x-axis
y2bottom right coordinate, y-axis
radiusradius for rounded corners, pixels
colour16-bit colour


More: Coordinates, Colours

Implemented in hV_Screen_Buffer.

◆ screenColourBits()

virtual uint8_t hV_Screen_Virtual::screenColourBits ( )
pure virtual

Screen colour depth.

Returns
colour depth, in bits
Note
Examples: BW=1, BWR=2, RGB565=16

Implemented in hV_Screen_Buffer.

◆ screenDiagonal()

virtual uint16_t hV_Screen_Virtual::screenDiagonal ( )
pure virtual

Screen size, diagonal.

Returns
diagonal size of the screen, in inches x 10
Note
320 means 3.20"

Implemented in hV_Screen_Buffer.

◆ screenMarginX()

virtual uint16_t hV_Screen_Virtual::screenMarginX ( )
pure virtual

Margin size, x-axis.

Returns
x-axis size of the screen, in pixels

Implemented in hV_Screen_Buffer.

◆ screenMarginY()

virtual uint16_t hV_Screen_Virtual::screenMarginY ( )
pure virtual

Margin size, y-axis.

Returns
y-axis size of the screen, in pixels

Implemented in hV_Screen_Buffer.

◆ screenSizeX()

virtual uint16_t hV_Screen_Virtual::screenSizeX ( )
pure virtual

Screen size, x-axis.

Returns
x-axis size of the screen, in pixels
Note
240 means 240 pixels and thus 0..239 coordinates (decimal)

Implemented in hV_Screen_Buffer.

◆ screenSizeY()

virtual uint16_t hV_Screen_Virtual::screenSizeY ( )
pure virtual

Screen size, y-axis.

Returns
y-axis size of the screen, in pixels
Note
240 means 240 pixels and thus 0..239 coordinates (decimal)

Implemented in hV_Screen_Buffer.

◆ selectFont()

virtual void hV_Screen_Virtual::selectFont ( uint8_t font)
pure virtual

Select font.

Parameters
font0..fontMax()-1, default = 0
Warning
Definition for this method is compulsory.
Note
Previously setFontSize()

Implemented in hV_Screen_Buffer.

◆ setBacklight()

virtual void hV_Screen_Virtual::setBacklight ( bool state)
pure virtual

Turn display backlight on or off.

Parameters
statetrue = HIGH = on, false = LOW = off
Note
Feature specific to the SSD1963

Implemented in hV_Screen_Buffer.

◆ setEnergy()

virtual void hV_Screen_Virtual::setEnergy ( uint32_t seconds = 3)
pure virtual

Set delay for power saving.

Parameters
secondsidle period in seconds before power saving, default = 3 s
Note
Set seconds = 0 to disable
Feature specific to the SSD1963 and the Screen_EPD_FRAM

Implemented in hV_Screen_Buffer.

◆ setFontSolid()

virtual void hV_Screen_Virtual::setFontSolid ( bool flag = true)
pure virtual

Set transparent or opaque text.

Parameters
flagdefault = 1 = opaque = solid, false = transparent
Warning
Definition for this method is compulsory.

Implemented in hV_Screen_Buffer.

◆ setIntensity()

virtual void hV_Screen_Virtual::setIntensity ( uint8_t intensity)
pure virtual

Set display backlight intensity.

Parameters
intensity0..255
Note
Feature specific to the SSD1963 and 4D Systems Diablo16

Implemented in hV_Screen_Buffer.

◆ setMarginXY()

virtual void hV_Screen_Virtual::setMarginXY ( uint16_t marginX = 0,
uint16_t marginY = 0 )
pure virtual

Set margins for logical screen.

Parameters
marginXx-axis margin in pixels
marginYy-axis margin in pixels

Implemented in hV_Screen_Buffer.

◆ setOrientation()

virtual void hV_Screen_Virtual::setOrientation ( uint8_t orientation)
pure virtual

Set orientation.

Parameters
orientationorientation,
  • 0 = default
  • 1 = right rotated
  • 2 = reverse default
  • 3 = left rotated
  • ORIENTATION_PORTRAIT = 6 = check portrait
  • ORIENTATION_LANDSCAPE = 7 = check landscape

Implemented in hV_Screen_Buffer.

◆ setPenSolid()

virtual void hV_Screen_Virtual::setPenSolid ( bool flag = true)
pure virtual

Set pen opaque.

Parameters
flagdefault = true = opaque = solid, false = wire frame

Implemented in hV_Screen_Buffer.

◆ stringLengthToFitX()

virtual uint8_t hV_Screen_Virtual::stringLengthToFitX ( STRING_CONST_TYPE text,
uint16_t pixels )
pure virtual

Number of characters to fit a size, x-axis.

Parameters
textstring to evaluate
pixelsnumber of pixels to fit in
Returns
number of characters to be displayed inside the pixels
More: Fonts

Implemented in hV_Screen_Buffer.

◆ stringSizeX()

virtual uint16_t hV_Screen_Virtual::stringSizeX ( STRING_CONST_TYPE text)
pure virtual

String size, x-axis.

Parameters
textstring to evaluate
Returns
horizontal size of the string for current font, in pixels
More: Fonts

Implemented in hV_Screen_Buffer.

◆ triangle()

virtual void hV_Screen_Virtual::triangle ( uint16_t x1,
uint16_t y1,
uint16_t x2,
uint16_t y2,
uint16_t x3,
uint16_t y3,
uint16_t colour )
pure virtual

Draw triangle, rectangle coordinates.

Parameters
x1first point coordinate, x-axis
y1first point coordinate, y-axis
x2second point coordinate, x-axis
y2second point coordinate, y-axis
x3third point coordinate, x-axis
y3third point coordinate, y-axis
colour16-bit colour


More: Coordinates, Colours

Implemented in hV_Screen_Buffer.

◆ updateEnergy()

virtual void hV_Screen_Virtual::updateEnergy ( bool state)
pure virtual

Update power saving.

Parameters
statetrue = update or start new period or false = check period
Note
Feature specific to the SSD1963

Implemented in hV_Screen_Buffer.

◆ WhoAmI()

virtual STRING_TYPE hV_Screen_Virtual::WhoAmI ( )
pure virtual

Request information about the screen.

Returns
string with hardware version
Warning
Definition for this method is compulsory.

Implemented in hV_Screen_Buffer, and Screen_EPD.


The documentation for this class was generated from the following file: