RTEMS  5.1
Data Structures | Macros | Typedefs | Functions
lcd_draw.h File Reference
#include "board.h"
#include <stdint.h>
#include "lcd_gimp_image.h"

Go to the source code of this file.

Data Structures

struct  _rect
 
struct  _rgb
 

Macros

#define DIRECTION_HLINE   0
 
#define DIRECTION_VLINE   1
 

Typedefs

typedef struct _rect rect
 
typedef struct _rgb sBGR
 

Functions

void LCDD_SetUpdateWindowSize (rect rc)
 
void LCDD_UpdateWindow (void)
 
void LCDD_UpdatePartialWindow (uint8_t *pbuf, uint32_t size)
 
void LCDD_DrawRectangleWithFill (uint16_t *pbuf, uint32_t dwX, uint32_t dwY, uint32_t dwWidth, uint32_t dwHeight, uint32_t dwColor)
 
uint32_t LCDD_DrawCircle (uint16_t *pbuf, uint32_t x, uint32_t y, uint32_t r, uint32_t color)
 
uint32_t LCD_DrawFilledCircle (uint16_t *pbuf, uint32_t dwX, uint32_t dwY, uint32_t dwRadius, uint32_t color)
 
void LCDD_DrawString (uint16_t *pbuf, uint32_t x, uint32_t y, const uint8_t *pString, uint32_t color)
 
void LCDD_GetStringSize (const uint8_t *pString, uint32_t *pWidth, uint32_t *pHeight)
 
void LCDD_BitBlt (uint16_t *pbuf, uint32_t dst_x, uint32_t dst_y, uint32_t dst_w, uint32_t dst_h, const LcdColor_t *src, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h)
 
void LCDD_BitBltAlphaBlend (uint16_t *pbuf, uint32_t dst_x, uint32_t dst_y, uint32_t dst_w, uint32_t dst_h, const LcdColor_t *src, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, uint32_t alpha)
 
void LCDD_DrawImage (uint16_t *pbuf, uint32_t dwX, uint32_t dwY, const LcdColor_t *pImage, uint32_t dwWidth, uint32_t dwHeight)
 
void LCDD_DrawPixel (uint16_t *pbuf, uint32_t x, uint32_t y, uint32_t color)
 
void LCDD_DrawLine (uint16_t *pbuf, uint32_t dwX1, uint32_t dwY1, uint32_t dwX2, uint32_t dwY2, uint32_t color)
 
uint32_t LCDD_DrawLineBresenham (uint16_t *pbuf, uint32_t dwX1, uint32_t dwY1, uint32_t dwX2, uint32_t dwY2, uint32_t color)
 
void LCDD_DrawRectangle (uint16_t *pbuf, uint32_t x, uint32_t y, uint32_t width, uint32_t height, uint32_t color)
 
void LCDD_SetCavasBuffer (void *pBuffer, uint32_t wBufferSize)
 
void LCDD_DrawStraightLine (uint16_t *pbuf, uint32_t dwX1, uint32_t dwY1, uint32_t dwX2, uint32_t dwY2, uint32_t color)
 

Detailed Description

Interface for draw function on LCD.

Macro Definition Documentation

◆ DIRECTION_HLINE

#define DIRECTION_HLINE   0

Horizontal direction line definition

◆ DIRECTION_VLINE

#define DIRECTION_VLINE   1

Vertical direction line definition