EPD Display  1.0.0
Library and application for EPD smart displays
Public Member Functions | Private Attributes | List of all members
DisplayDrawer Class Reference

Drawing the choosen display modes. More...

#include <DisplayDrawer.h>

Inheritance diagram for DisplayDrawer:
Inheritance graph
[legend]
Collaboration diagram for DisplayDrawer:
Collaboration graph
[legend]

Public Member Functions

 DisplayDrawer (EPD_Display *display)
 
void SetDesign (uint8_t design)
 Setting up the design. More...
 
void DrawConnect ()
 Design and item layout for the Connecting screen. More...
 
void DrawAP ()
 Design and item layout for the Wireless network initialization screen. More...
 
void DrawCard (DisplayContent_t *data)
 Design and item layout for the Nameplate (card) mode. More...
 
void DrawTable (DisplayContent_t *data, int hour, String date, String day)
 Design and item layout for the Timetable mode. More...
 
void DrawMeeting (DisplayContent_t *data, int hour, String date, String day)
 Design and item layout for the Timetable mode. More...
 
void Show ()
 Shows the content - Sends the image buffer in RAM to e-Paper and displays. More...
 
- Public Member Functions inherited from DisplayCanvas
void SetRotate (uint16_t rotate)
 Rotate image by 0,90,180,270 degrees. More...
 
void SetMirroring (uint8_t mirror)
 Select Image mirror. More...
 
void SetScale (uint8_t scale)
 Set display scale. More...
 
void SetPixel (uint16_t Xpoint, uint16_t Ypoint, uint16_t Color)
 Draw Pixels. More...
 
void Clear (uint16_t color)
 Clear the color of the picture. More...
 
void ClearWindows (uint16_t Xstart, uint16_t Ystart, uint16_t Xend, uint16_t Yend, uint16_t Color)
 Clear the color of a window. More...
 
void DrawPoint (uint16_t Xpoint, uint16_t Ypoint, uint16_t Color, DOT_PIXEL Dot_Pixel, DOT_STYLE Dot_Style)
 Draw Point(Xpoint, Ypoint) Fill the color. More...
 
void DrawLine (uint16_t Xstart, uint16_t Ystart, uint16_t Xend, uint16_t Yend, uint16_t Color, DOT_PIXEL Line_width, LINE_STYLE Line_Style)
 Draw a line of arbitrary slope. More...
 
void DrawRectangle (uint16_t Xstart, uint16_t Ystart, uint16_t Xend, uint16_t Yend, uint16_t Color, DOT_PIXEL Line_width, DRAW_FILL Draw_Fill)
 Draw a rectangle. More...
 
void DrawCircle (uint16_t X_Center, uint16_t Y_Center, uint16_t Radius, uint16_t Color, DOT_PIXEL Line_width, DRAW_FILL Draw_Fill)
 Use the 8-point method to draw a circle of the specified size at the specified position. More...
 
void DrawChar (uint16_t Xpoint, uint16_t Ypoint, const char Acsii_Char, sFONT *Font, uint16_t Color_Foreground, uint16_t Color_Background)
 Show English characters. More...
 
void DrawString_EN (uint16_t Xstart, uint16_t Ystart, const char *pString, sFONT *Font, uint16_t Color_Foreground, uint16_t Color_Background)
 Show English characters. More...
 
void DrawNum (uint16_t Xpoint, uint16_t Ypoint, int32_t Nummber, sFONT *Font, uint16_t Color_Foreground, uint16_t Color_Background)
 Display nummber. More...
 
void DrawTime (uint16_t Xstart, uint16_t Ystart, PAINT_TIME *pTime, sFONT *Font, uint16_t Color_Foreground, uint16_t Color_Background)
 Display time. More...
 
void DrawBitMap (const unsigned char *image_buffer)
 Display monochrome bitmap - Use a computer to convert the image into a corresponding array, and then embed the array directly into Imagedata.cpp as a .c file. More...
 
void DrawImage (const unsigned char *image_buffer, uint16_t xStart, uint16_t yStart, uint16_t W_Image, uint16_t H_Image)
 Display image. More...
 
 DisplayCanvas (DisplaySize_t s)
 Allocate the needed memory. More...
 
 DisplayCanvas ()
 
void SelectImage (uint8_t index)
 Select Image. More...
 
void NewImage (uint8_t index, uint16_t color)
 Create new image. More...
 

Private Attributes

EPD_Display_display
 
uint8_t _design
 

Additional Inherited Members

- Public Attributes inherited from DisplayCanvas
DisplaySize_t _display_size
 
PAINT Paint
 
uint8_t ** image
 

Detailed Description

Drawing the choosen display modes.

Member Data Documentation

◆ _design

uint8_t DisplayDrawer::_design
private

◆ _display

EPD_Display* DisplayDrawer::_display
private

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