46 #ifndef __D4D_BASIC_DRAW_H
47 #define __D4D_BASIC_DRAW_H
60 #define D4D_BEVEL_WIDTH 2
64 #ifndef D4D_BEVEL_FORE_INTENSITY
65 #define D4D_BEVEL_FORE_INTENSITY 33
70 #ifndef D4D_BEVEL_BCKG_INTENSITY
71 #define D4D_BEVEL_BCKG_INTENSITY -33
102 #define D4D_DrawTextXY(x, y, buffText, colorText, colorBkgd) D4D_DrawTextTabXY(x, y, buffText, NULL, colorText, colorBkgd)
113 #define D4D_DrawText(ppt, buffText, colorText, colorBkgd) D4D_DrawTextTab(ppt, buffText, NULL, colorText, colorBkgd)
125 #define D4D_DrawTextTab(ppt, buffText, pTab, colorText, colorBkgd) D4D_DrawTextTabXY((ppt)->x, (ppt)->y, buffText, pTab, colorText, colorBkgd)
139 #define D4D_DrawTextRect(ppt, psz, buffText, colorText, colorBkgd) D4D_DrawTextRectTab(ppt, psz, buffText, NULL, colorText, colorBkgd)
154 #define D4D_DrawTextRectTo(ppt, buffText, colorText, colorBkgd) D4D_DrawTextRectTabTo(ppt, buffText, NULL, colorText, colorBkgd)
170 #define D4D_DrawTextRectXY(x1, y1, x2, y2, buffText, colorText, colorBkgd) D4D_DrawTextRectTabXY(x1, y1, x2, y2, buffText, NULL, colorText, colorBkgd)
185 #define D4D_DrawTextRectToXY(x, y, buffText, colorText, colorBkgd) D4D_DrawTextRectTabToXY(x, y, buffText, NULL, colorText, colorBkgd)
200 #define D4D_DrawTextRRect(ppt, psz, buffText, colorText, colorBkgd, radius) D4D_DrawTextRRectTab(ppt, psz, buffText, NULL, colorText, colorBkgd, radius)
216 #define D4D_DrawTextRRectTo(ppt, buffText, colorText, colorBkgd, radius) D4D_DrawTextRRectTabTo(ppt, buffText, NULL, colorText, colorBkgd, radius)
233 #define D4D_DrawTextRRectXY(x1, y1, x2, y2, buffText, colorText, colorBkgd, radius) D4D_DrawTextRRectTabXY(x1, y1, x2, y2, buffText, NULL, colorText, colorBkgd, radius)
249 #define D4D_DrawTextRRectToXY(x, y, buffText, colorText, colorBkgd, radius) D4D_DrawTextRRectTabToXY(x, y, buffText, NULL, colorText, colorBkgd, radius)
293 #if D4D_ROUND_CORNER_ENABLE != D4D_FALSE
319 #define D4D_RRect(ppt, psz, ltype, color, radius) D4D_Rect(ppt, psz, ltype, color)
320 #define D4D_RRectXY(x1, y1, x2, y2, ltype, color, radius) D4D_RectXY(x1, y1, x2, y2, ltype, color)
321 #define D4D_RRectTo(ppt, ltype, color, radius) D4D_RectTo(ppt, ltype, color)
322 #define D4D_RRectToXY(x, y, ltype, color, radius) D4D_RectToXY(x, y, ltype, color)
323 #define D4D_FillRRect(ppt, psz, color, radius) D4D_FillRect(ppt, psz, color)
324 #define D4D_FillRRectXY(x1, y1, x2, y2, color, radius) D4D_FillRectXY(x1, y1, x2, y2, color)
325 #define D4D_FillRRectTo(ppt, color, radius) D4D_FillRectTo(ppt, color)
326 #define D4D_FillRRectToXY(x, y, color, radius) D4D_FillRectToXY(x, y, color)
327 #define D4D_RBox(ppt, psz, ltype, colorLine, colorFill, radius) D4D_Box(ppt, psz, ltype, colorLine, colorFill)
328 #define D4D_RBoxXY(x1, y1, x2, y2, ltype, colorLine, colorFill, radius) D4D_BoxXY(x1, y1, x2, y2, ltype, colorLine, colorFill)
329 #define D4D_RBoxTo(ppt, ltype, colorLine, colorFill, radius) D4D_BoxTo(ppt, ltype, colorLine, colorFill)
330 #define D4D_RBoxToXY(x, y, ltype, colorLine, colorFill, radius) D4D_BoxToXY(x, y, ltype, colorLine, colorFill)
331 #define D4D_FillQuadrant(pCenter, radius, color, quadrant) ;
332 #define D4D_FillQuadrantXY(x, y, radius, color, quadrant) ;
333 #define D4D_Quadrant(pCenter, radius, ltype, color, quadrant) ;
334 #define D4D_QuadrantXY(x, y, radius, ltype, color, quadrant) ;
335 #define D4D_FillRRectColorScale(ppt, psz, startColor, endColor, direction, radius) D4D_FillRectColorScale(ppt, psz, startColor, endColor, direction)
336 #define D4D_FillRRectColorScaleXY(x1, y1, x2, y2, startColor, endColor, direction, radius) D4D_FillRectColorScaleXY(x1, y1, x2, y2, startColor, endColor, direction)
337 #define D4D_FillRRectColorScaleTo(ppt, startColor, endColor, direction, radius) D4D_FillRectColorScaleTo(ppt, startColor, endColor, direction)
338 #define D4D_FillRRectColorScaleToXY(x, y, startColor, endColor, direction, radius) D4D_FillRectColorScaleToXY(x, y, startColor, endColor, direction)
339 #define D4D_DrawTextRRectTab(ppt, psz, buffText, pTab, colorText, colorBkgd, radius) D4D_DrawTextRectTab(ppt, psz, buffText, pTab, colorText, colorBkgd)
340 #define D4D_DrawTextRRectTabTo(ppt, buffText, pTab, colorText, colorBkgd, radius) D4D_DrawTextRectTabTo(ppt, buffText, pTab, colorText, colorBkgd)
341 #define D4D_DrawTextRRectTabXY(x1, y1, x2, y2, buffText, pTab, colorText, colorBkgd, radius) D4D_DrawTextRectTabXY(x1, y1, x2, y2, buffText, pTab, colorText, colorBkgd)
342 #define D4D_DrawTextRRectTabToXY(x, y, buffText, pTab, colorText, colorBkgd, radius) D4D_DrawTextRectTabToXY(x, y, buffText, pTab, colorText, colorBkgd)
D4D_LINETYPE
Type definition of eGUI line type.
#define D4D_RBoxToXY(x, y, ltype, colorLine, colorFill, radius)
#define D4D_FillRRectColorScaleTo(ppt, startColor, endColor, direction, radius)
void D4D_BoxTo(D4D_POINT *ppt, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill)
Function draw filled rectangle with outline on the screen.
void D4D_Box(D4D_POINT *ppt, D4D_SIZE *psz, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill)
Function draw filled rectangle with outline on the screen.
void D4D_FillRect(D4D_POINT *ppt, D4D_SIZE *psz, D4D_COLOR color)
Function draw filled rectangle on the screen.
Type definition of eGUI point structure.
#define D4D_FillRRectColorScale(ppt, psz, startColor, endColor, direction, radius)
void D4D_FillRectXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_COLOR color)
Function draw filled rectangle on the screen.
void D4D_FillRectColorScaleTo(D4D_POINT *ppt, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction)
Function draw filled rectangle with changing color (cross color from start to end color) on the scree...
The string type. This structure contains all properties about string in eGUI.
#define D4D_FillRRect(ppt, psz, color, radius)
void D4D_BoxToXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill)
Function draw filled rectangle with outline on the screen.
void D4D_DrawTextRectTab(D4D_POINT *ppt, D4D_SIZE *psz, D4D_STRING *buffText, D4D_TAB *pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd)
Function draw text with TAB function in rectangle.
#define D4D_RBoxTo(ppt, ltype, colorLine, colorFill, radius)
#define D4D_FillQuadrantXY(x, y, radius, color, quadrant)
#define D4D_FillRRectTo(ppt, color, radius)
#define D4D_RBox(ppt, psz, ltype, colorLine, colorFill, radius)
void D4D_MoveToXY(D4D_COOR x, D4D_COOR y)
Function move logic cursor to new position.
void D4D_DrawTextRectTabTo(D4D_POINT *ppt, D4D_STRING *buffText, D4D_TAB *pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd)
Function draw text on XY coordination with TAB function in rectangle.
void D4D_Rect(D4D_POINT *ppt, D4D_SIZE *psz, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw rectangle on the screen.
void D4D_FillRectColorScaleToXY(D4D_COOR x, D4D_COOR y, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction)
Function draw filled rectangle with changing color (cross color from start to end color) on the scree...
void D4D_DrawTextTabXY(D4D_COOR x, D4D_COOR y, D4D_STRING *buffText, D4D_TAB *pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd)
Function draw text on XY coordination with TAB function.
void D4D_FillCircleXY(D4D_COOR x, D4D_COOR y, D4D_COOR r, D4D_COLOR color)
Function draw filled circle on the screen.
void D4D_RectTo(D4D_POINT *ppt, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw rectangle on the screen.
void D4D_FillRectTo(D4D_POINT *ppt, D4D_COLOR color)
Function draw filled rectangle on the screen.
#define D4D_RRect(ppt, psz, ltype, color, radius)
Byte D4D_COOR
Type definition of eGUI coordination variables.
#define D4D_FillRRectColorScaleXY(x1, y1, x2, y2, startColor, endColor, direction, radius)
D4D_COOR radius
Screen corner radius.
void D4D_Circle(D4D_POINT *pCenter, D4D_COOR r, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw circle on the screen.
void D4D_FillRectToXY(D4D_COOR x, D4D_COOR y, D4D_COLOR color)
Function draw filled rectangle on the screen.
void D4D_FillCircle(D4D_POINT *pCenter, D4D_COOR r, D4D_COLOR color)
Function draw filled circle on the screen.
void D4D_CircleXY(D4D_COOR x, D4D_COOR y, D4D_COOR r, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw circle on the screen.
D4D_COLOR D4D_ChangeColorIntesity(D4D_COLOR color, sByte intensity)
Compute change of color intesity.
void D4D_PutPixelXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE type, D4D_COLOR color)
Function puts one pixel on the screen.
#define D4D_RRectTo(ppt, ltype, color, radius)
void D4D_BoxXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill)
Function draw filled rectangle with outline on the screen.
#define D4D_RBoxXY(x1, y1, x2, y2, ltype, colorLine, colorFill, radius)
void D4D_FillRectColorScale(D4D_POINT *ppt, D4D_SIZE *psz, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction)
Function draw filled rectangle with changing color (cross color from start to end color) on the scree...
void D4D_PutPixel(D4D_POINT *ppt, D4D_LINETYPE type, D4D_COLOR color)
Function puts one pixel on the screen.
void D4D_Bevel(D4D_POINT *ppt, D4D_SIZE *psz, D4D_COLOR color, D4D_BEVEL type, D4D_COOR radius)
Function draw standard object bevel specified by parameters.
D4D_COOR D4D_RndCornerGetNonPrintedPxl(D4D_COOR radius, D4D_COOR line)
Function that counts number of printed pixels in specified line of circle quadrant.
D4D_DIRECTION
Type definition of eGUI direction type.
Type definition of eGUI tabulation structure.
D4D_BEVEL
Type definition of eGUI bevel type.
#define D4D_DrawTextRRectTabTo(ppt, buffText, pTab, colorText, colorBkgd, radius)
D4D_QUADRANT
Type definition of eGUI circle quadrant.
signed char sByte
Type definition of sByte (signed 8-bit).
#define D4D_QuadrantXY(x, y, radius, ltype, color, quadrant)
#define D4D_RRectXY(x1, y1, x2, y2, ltype, color, radius)
#define D4D_FillRRectXY(x1, y1, x2, y2, color, radius)
void D4D_FillRectColorScaleXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction)
Function draw filled rectangle with changing color (cross color from start to end color) on the scree...
#define D4D_FillRRectToXY(x, y, color, radius)
void D4D_RectXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw rectangle on the screen.
#define D4D_Quadrant(pCenter, radius, ltype, color, quadrant)
Type definition of eGUI size structure.
#define D4D_FillQuadrant(pCenter, radius, color, quadrant)
void D4D_DrawTextRectTabXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_STRING *buffText, D4D_TAB *pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd)
Function draw text with TAB function in rectangle.
void D4D_DrawTextRectTabToXY(D4D_COOR x, D4D_COOR y, D4D_STRING *buffText, D4D_TAB *pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd)
Function draw text on XY coordination with TAB function in rectangle.
#define D4D_DrawTextRRectTabToXY(x, y, buffText, pTab, colorText, colorBkgd, radius)
#define D4D_DrawTextRRectTabXY(x1, y1, x2, y2, buffText, pTab, colorText, colorBkgd, radius)
#define D4D_DrawTextRRectTab(ppt, psz, buffText, pTab, colorText, colorBkgd, radius)
#define D4D_RRectToXY(x, y, ltype, color, radius)
void D4D_LineToXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw line on the screen.
void D4D_PutPixelTo(D4D_LINETYPE type, D4D_COLOR color)
Function puts one pixel on the screen.
void D4D_LineTo(D4D_POINT *ppt, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw line on the screen.
LWord D4D_COLOR
Type definition of eGUI color variables.
void D4D_RectToXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw rectangle on the screen.
void D4D_MoveTo(D4D_POINT *ppt)
Function move logic cursor to new position.
#define D4D_FillRRectColorScaleToXY(x, y, startColor, endColor, direction, radius)