eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_basic_draw.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_BEVEL_WIDTH
 D4D_BEVEL_WIDTH constant declaration - can't be changed! More...
 
#define D4D_BEVEL_FORE_INTENSITY
 D4D_BEVEL_FORE_INTENSITY constant default declaration. Sets the percentual change of color for bevel frame for fore color. More...
 
#define D4D_BEVEL_BCKG_INTENSITY
 D4D_BEVEL_BCKG_INTENSITY constant default declaration. Sets the percentual change of color for bevel frame for background color. More...
 
#define D4D_DrawTextXY(x, y, buffText, colorText, colorBkgd)
 Function that draw text on the screen the coordination is sets directly XY. More...
 
#define D4D_DrawText(ppt, buffText, colorText, colorBkgd)
 Function that draw simple text on the screen. More...
 
#define D4D_DrawTextTab(ppt, buffText, pTab, colorText, colorBkgd)
 Function that draw text on the screen and respects Tabulator functionality. More...
 
#define D4D_DrawTextRect(ppt, psz, buffText, colorText, colorBkgd)
 Function that draw text into defined rectangle on the screen. More...
 
#define D4D_DrawTextRectTo(ppt, buffText, colorText, colorBkgd)
 Function that draw text into defined rectangle on the screen from previous draw point to to point specify by ppt structure. More...
 
#define D4D_DrawTextRectXY(x1, y1, x2, y2, buffText, colorText, colorBkgd)
 Function that draw text into defined rectangle on the screen. More...
 
#define D4D_DrawTextRectToXY(x, y, buffText, colorText, colorBkgd)
 Function that draw text into defined rectangle on the screen from previous draw point to to point specify by ppt structure. More...
 
#define D4D_DrawTextRRect(ppt, psz, buffText, colorText, colorBkgd, radius)
 Function that draw text into defined rectangle on the screen with corner radius. More...
 
#define D4D_DrawTextRRectTo(ppt, buffText, colorText, colorBkgd, radius)
 Function that draw text into defined rectangle with corner radius on the screen from previous draw point to to point specify by ppt structure. More...
 
#define D4D_DrawTextRRectXY(x1, y1, x2, y2, buffText, colorText, colorBkgd, radius)
 Function that draw text into defined rectangle on the screen with corner radius. More...
 
#define D4D_DrawTextRRectToXY(x, y, buffText, colorText, colorBkgd, radius)
 Function that draw text into defined rectangle with corner radius on the screen from previous draw point to to point specify by ppt structure. More...
 
#define D4D_RRect(ppt, psz, ltype, color, radius)
 
#define D4D_RRectXY(x1, y1, x2, y2, ltype, color, radius)
 
#define D4D_RRectTo(ppt, ltype, color, radius)
 
#define D4D_RRectToXY(x, y, ltype, color, radius)
 
#define D4D_FillRRect(ppt, psz, color, radius)
 
#define D4D_FillRRectXY(x1, y1, x2, y2, color, radius)
 
#define D4D_FillRRectTo(ppt, color, radius)
 
#define D4D_FillRRectToXY(x, y, color, radius)
 
#define D4D_RBox(ppt, psz, ltype, colorLine, colorFill, radius)
 
#define D4D_RBoxXY(x1, y1, x2, y2, ltype, colorLine, colorFill, radius)
 
#define D4D_RBoxTo(ppt, ltype, colorLine, colorFill, radius)
 
#define D4D_RBoxToXY(x, y, ltype, colorLine, colorFill, radius)
 
#define D4D_FillQuadrant(pCenter, radius, color, quadrant)
 
#define D4D_FillQuadrantXY(x, y, radius, color, quadrant)
 
#define D4D_Quadrant(pCenter, radius, ltype, color, quadrant)
 
#define D4D_QuadrantXY(x, y, radius, ltype, color, quadrant)
 
#define D4D_FillRRectColorScale(ppt, psz, startColor, endColor, direction, radius)
 
#define D4D_FillRRectColorScaleXY(x1, y1, x2, y2, startColor, endColor, direction, radius)
 
#define D4D_FillRRectColorScaleTo(ppt, startColor, endColor, direction, radius)
 
#define D4D_FillRRectColorScaleToXY(x, y, startColor, endColor, direction, radius)
 
#define D4D_DrawTextRRectTab(ppt, psz, buffText, pTab, colorText, colorBkgd, radius)
 
#define D4D_DrawTextRRectTabTo(ppt, buffText, pTab, colorText, colorBkgd, radius)
 
#define D4D_DrawTextRRectTabXY(x1, y1, x2, y2, buffText, pTab, colorText, colorBkgd, radius)
 
#define D4D_DrawTextRRectTabToXY(x, y, buffText, pTab, colorText, colorBkgd, radius)
 

Functions

void D4D_PutPixel (D4D_POINT *ppt, D4D_LINETYPE type, D4D_COLOR color)
 Function puts one pixel on the screen. More...
 
void D4D_PutPixelTo (D4D_LINETYPE type, D4D_COLOR color)
 Function puts one pixel on the screen. More...
 
void D4D_PutPixelXY (D4D_COOR x, D4D_COOR y, D4D_LINETYPE type, D4D_COLOR color)
 Function puts one pixel on the screen. More...
 
void D4D_MoveTo (D4D_POINT *ppt)
 Function move logic cursor to new position. More...
 
void D4D_MoveToXY (D4D_COOR x, D4D_COOR y)
 Function move logic cursor to new position. More...
 
void D4D_LineTo (D4D_POINT *ppt, D4D_LINETYPE ltype, D4D_COLOR color)
 Function draw line on the screen. More...
 
void D4D_LineToXY (D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR color)
 Function draw line on the screen. More...
 
void D4D_FillRect (D4D_POINT *ppt, D4D_SIZE *psz, D4D_COLOR color)
 Function draw filled rectangle on the screen. More...
 
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. More...
 
void D4D_FillRectTo (D4D_POINT *ppt, D4D_COLOR color)
 Function draw filled rectangle on the screen. More...
 
void D4D_FillRectToXY (D4D_COOR x, D4D_COOR y, D4D_COLOR color)
 Function draw filled rectangle on the screen. More...
 
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 screen. More...
 
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 screen. More...
 
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 screen. More...
 
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 screen. More...
 
void D4D_Rect (D4D_POINT *ppt, D4D_SIZE *psz, D4D_LINETYPE ltype, D4D_COLOR color)
 Function draw rectangle on the screen. More...
 
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. More...
 
void D4D_RectTo (D4D_POINT *ppt, D4D_LINETYPE ltype, D4D_COLOR color)
 Function draw rectangle on the screen. More...
 
void D4D_RectToXY (D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR color)
 Function draw rectangle on the screen. More...
 
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. More...
 
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. More...
 
void D4D_BoxTo (D4D_POINT *ppt, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill)
 Function draw filled rectangle with outline on the screen. More...
 
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. More...
 
void D4D_FillCircle (D4D_POINT *pCenter, D4D_COOR r, D4D_COLOR color)
 Function draw filled circle on the screen. More...
 
void D4D_FillCircleXY (D4D_COOR x, D4D_COOR y, D4D_COOR r, D4D_COLOR color)
 Function draw filled circle on the screen. More...
 
void D4D_Circle (D4D_POINT *pCenter, D4D_COOR r, D4D_LINETYPE ltype, D4D_COLOR color)
 Function draw circle on the screen. More...
 
void D4D_CircleXY (D4D_COOR x, D4D_COOR y, D4D_COOR r, D4D_LINETYPE ltype, D4D_COLOR color)
 Function draw circle on the screen. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
D4D_COOR D4D_RndCornerGetNonPrintedPxl (D4D_COOR radius, D4D_COOR line)
 Function that counts number of printed pixels in specified line of circle quadrant. More...
 
D4D_COLOR D4D_ChangeColorIntesity (D4D_COLOR color, sByte intensity)
 Compute change of color intesity. More...
 

Detailed Description

D4D Driver core and base functions header file.

Author
Michal hanak, Petr Gargulak
Version
0.0.2.0
Date
Oct-2-2013

Definition in file d4d_basic_draw.h.

Macro Definition Documentation

#define D4D_DrawTextRRectTab (   ppt,
  psz,
  buffText,
  pTab,
  colorText,
  colorBkgd,
  radius 
)

Definition at line 339 of file d4d_basic_draw.h.

#define D4D_DrawTextRRectTabTo (   ppt,
  buffText,
  pTab,
  colorText,
  colorBkgd,
  radius 
)

Definition at line 340 of file d4d_basic_draw.h.

#define D4D_DrawTextRRectTabToXY (   x,
  y,
  buffText,
  pTab,
  colorText,
  colorBkgd,
  radius 
)

Definition at line 342 of file d4d_basic_draw.h.

#define D4D_DrawTextRRectTabXY (   x1,
  y1,
  x2,
  y2,
  buffText,
  pTab,
  colorText,
  colorBkgd,
  radius 
)

Definition at line 341 of file d4d_basic_draw.h.

#define D4D_FillQuadrant (   pCenter,
  radius,
  color,
  quadrant 
)

Definition at line 331 of file d4d_basic_draw.h.

#define D4D_FillQuadrantXY (   x,
  y,
  radius,
  color,
  quadrant 
)

Definition at line 332 of file d4d_basic_draw.h.

#define D4D_FillRRect (   ppt,
  psz,
  color,
  radius 
)

Definition at line 323 of file d4d_basic_draw.h.

#define D4D_FillRRectColorScale (   ppt,
  psz,
  startColor,
  endColor,
  direction,
  radius 
)

Definition at line 335 of file d4d_basic_draw.h.

#define D4D_FillRRectColorScaleTo (   ppt,
  startColor,
  endColor,
  direction,
  radius 
)

Definition at line 337 of file d4d_basic_draw.h.

#define D4D_FillRRectColorScaleToXY (   x,
  y,
  startColor,
  endColor,
  direction,
  radius 
)

Definition at line 338 of file d4d_basic_draw.h.

#define D4D_FillRRectColorScaleXY (   x1,
  y1,
  x2,
  y2,
  startColor,
  endColor,
  direction,
  radius 
)

Definition at line 336 of file d4d_basic_draw.h.

#define D4D_FillRRectTo (   ppt,
  color,
  radius 
)

Definition at line 325 of file d4d_basic_draw.h.

#define D4D_FillRRectToXY (   x,
  y,
  color,
  radius 
)

Definition at line 326 of file d4d_basic_draw.h.

#define D4D_FillRRectXY (   x1,
  y1,
  x2,
  y2,
  color,
  radius 
)

Definition at line 324 of file d4d_basic_draw.h.

#define D4D_Quadrant (   pCenter,
  radius,
  ltype,
  color,
  quadrant 
)

Definition at line 333 of file d4d_basic_draw.h.

#define D4D_QuadrantXY (   x,
  y,
  radius,
  ltype,
  color,
  quadrant 
)

Definition at line 334 of file d4d_basic_draw.h.

#define D4D_RBox (   ppt,
  psz,
  ltype,
  colorLine,
  colorFill,
  radius 
)

Definition at line 327 of file d4d_basic_draw.h.

#define D4D_RBoxTo (   ppt,
  ltype,
  colorLine,
  colorFill,
  radius 
)

Definition at line 329 of file d4d_basic_draw.h.

#define D4D_RBoxToXY (   x,
  y,
  ltype,
  colorLine,
  colorFill,
  radius 
)

Definition at line 330 of file d4d_basic_draw.h.

#define D4D_RBoxXY (   x1,
  y1,
  x2,
  y2,
  ltype,
  colorLine,
  colorFill,
  radius 
)

Definition at line 328 of file d4d_basic_draw.h.

#define D4D_RRect (   ppt,
  psz,
  ltype,
  color,
  radius 
)

Definition at line 319 of file d4d_basic_draw.h.

#define D4D_RRectTo (   ppt,
  ltype,
  color,
  radius 
)

Definition at line 321 of file d4d_basic_draw.h.

#define D4D_RRectToXY (   x,
  y,
  ltype,
  color,
  radius 
)

Definition at line 322 of file d4d_basic_draw.h.

#define D4D_RRectXY (   x1,
  y1,
  x2,
  y2,
  ltype,
  color,
  radius 
)

Definition at line 320 of file d4d_basic_draw.h.