eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_basic_draw.h
Go to the documentation of this file.
1 /**************************************************************************
2 *
3 * Copyright 2014 by Petr Gargulak. eGUI Community.
4 * Copyright 2009-2013 by Petr Gargulak. Freescale Semiconductor, Inc.
5 *
6 ***************************************************************************
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License Version 3
9 * or later (the "LGPL").
10 *
11 * As a special exception, the copyright holders of the eGUI project give you
12 * permission to link the eGUI sources with independent modules to produce an
13 * executable, regardless of the license terms of these independent modules,
14 * and to copy and distribute the resulting executable under terms of your
15 * choice, provided that you also meet, for each linked independent module,
16 * the terms and conditions of the license of that module.
17 * An independent module is a module which is not derived from or based
18 * on this library.
19 * If you modify the eGUI sources, you may extend this exception
20 * to your version of the eGUI sources, but you are not obligated
21 * to do so. If you do not wish to do so, delete this
22 * exception statement from your version.
23 *
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27 *
28 * You should have received a copy of the GNU General Public License
29 * and the GNU Lesser General Public License along with this program.
30 * If not, see <http://www.gnu.org/licenses/>.
31 *
32 ***************************************************************************/
46 #ifndef __D4D_BASIC_DRAW_H
47 #define __D4D_BASIC_DRAW_H
48 
49 /******************************************************************************
50 * Includes
51 ******************************************************************************/
52 
53 /******************************************************************************
54 * D4D BASIC DRAW setting constants
55 *
56 */
60 #define D4D_BEVEL_WIDTH 2
61 
64 #ifndef D4D_BEVEL_FORE_INTENSITY
65  #define D4D_BEVEL_FORE_INTENSITY 33
66 #endif
67 
70 #ifndef D4D_BEVEL_BCKG_INTENSITY
71  #define D4D_BEVEL_BCKG_INTENSITY -33
72 #endif
73 
76 /******************************************************************************
77 * D4D BASIC DRAW types
78 *
79 */
85 /******************************************************************************
86 * D4D BASIC DRAW macros
87 *
88 */
92 /**************************************************************************/
102 #define D4D_DrawTextXY(x, y, buffText, colorText, colorBkgd) D4D_DrawTextTabXY(x, y, buffText, NULL, colorText, colorBkgd)
103 
104 /**************************************************************************/
113 #define D4D_DrawText(ppt, buffText, colorText, colorBkgd) D4D_DrawTextTab(ppt, buffText, NULL, colorText, colorBkgd)
114 
115 /**************************************************************************/
125 #define D4D_DrawTextTab(ppt, buffText, pTab, colorText, colorBkgd) D4D_DrawTextTabXY((ppt)->x, (ppt)->y, buffText, pTab, colorText, colorBkgd)
126 
127 /**************************************************************************/
139 #define D4D_DrawTextRect(ppt, psz, buffText, colorText, colorBkgd) D4D_DrawTextRectTab(ppt, psz, buffText, NULL, colorText, colorBkgd)
140 
141 /**************************************************************************/
154 #define D4D_DrawTextRectTo(ppt, buffText, colorText, colorBkgd) D4D_DrawTextRectTabTo(ppt, buffText, NULL, colorText, colorBkgd)
155 
156 /**************************************************************************/
170 #define D4D_DrawTextRectXY(x1, y1, x2, y2, buffText, colorText, colorBkgd) D4D_DrawTextRectTabXY(x1, y1, x2, y2, buffText, NULL, colorText, colorBkgd)
171 
172 /**************************************************************************/
185 #define D4D_DrawTextRectToXY(x, y, buffText, colorText, colorBkgd) D4D_DrawTextRectTabToXY(x, y, buffText, NULL, colorText, colorBkgd)
186 
187 /**************************************************************************/
200 #define D4D_DrawTextRRect(ppt, psz, buffText, colorText, colorBkgd, radius) D4D_DrawTextRRectTab(ppt, psz, buffText, NULL, colorText, colorBkgd, radius)
201 
202 /**************************************************************************/
216 #define D4D_DrawTextRRectTo(ppt, buffText, colorText, colorBkgd, radius) D4D_DrawTextRRectTabTo(ppt, buffText, NULL, colorText, colorBkgd, radius)
217 
218 /**************************************************************************/
233 #define D4D_DrawTextRRectXY(x1, y1, x2, y2, buffText, colorText, colorBkgd, radius) D4D_DrawTextRRectTabXY(x1, y1, x2, y2, buffText, NULL, colorText, colorBkgd, radius)
234 
235 /**************************************************************************/
249 #define D4D_DrawTextRRectToXY(x, y, buffText, colorText, colorBkgd, radius) D4D_DrawTextRRectTabToXY(x, y, buffText, NULL, colorText, colorBkgd, radius)
250 
256 /******************************************************************************
257 * Global variables
258 ******************************************************************************/
259 
260 /******************************************************************************
261 * Global functions
262 ******************************************************************************/
263 
264 void D4D_PutPixel(D4D_POINT* ppt, D4D_LINETYPE type, D4D_COLOR color);
265 void D4D_PutPixelTo(D4D_LINETYPE type, D4D_COLOR color);
266 void D4D_PutPixelXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE type, D4D_COLOR color);
267 void D4D_MoveTo(D4D_POINT* ppt);
268 void D4D_MoveToXY(D4D_COOR x, D4D_COOR y);
269 void D4D_LineTo(D4D_POINT* ppt, D4D_LINETYPE ltype, D4D_COLOR color);
270 void D4D_LineToXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR color);
271 void D4D_FillRect(D4D_POINT* ppt, D4D_SIZE* psz, D4D_COLOR color);
272 void D4D_FillRectXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_COLOR color);
273 void D4D_FillRectTo(D4D_POINT* ppt, D4D_COLOR color);
274 void D4D_FillRectToXY(D4D_COOR x, D4D_COOR y, D4D_COLOR color);
275 void D4D_FillRectColorScale(D4D_POINT* ppt, D4D_SIZE* psz, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction);
276 void D4D_FillRectColorScaleXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction);
277 void D4D_FillRectColorScaleTo(D4D_POINT* ppt, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction);
278 void D4D_FillRectColorScaleToXY(D4D_COOR x, D4D_COOR y, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction);
279 void D4D_Rect(D4D_POINT* ppt, D4D_SIZE* psz, D4D_LINETYPE ltype, D4D_COLOR color);
280 void D4D_RectXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_LINETYPE ltype, D4D_COLOR color);
281 void D4D_RectTo(D4D_POINT* ppt, D4D_LINETYPE ltype, D4D_COLOR color);
282 void D4D_RectToXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR color);
283 void D4D_Box(D4D_POINT* ppt, D4D_SIZE* psz, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill);
284 void D4D_BoxXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill);
285 void D4D_BoxTo(D4D_POINT* ppt, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill);
286 void D4D_BoxToXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill);
287 void D4D_FillCircle(D4D_POINT* pCenter, D4D_COOR r, D4D_COLOR color);
289 void D4D_Circle(D4D_POINT* pCenter, D4D_COOR r, D4D_LINETYPE ltype, D4D_COLOR color);
290 void D4D_CircleXY(D4D_COOR x, D4D_COOR y, D4D_COOR r, D4D_LINETYPE ltype, D4D_COLOR color);
291 void D4D_Bevel(D4D_POINT* ppt, D4D_SIZE* psz, D4D_COLOR color, D4D_BEVEL type, D4D_COOR radius);
292 
293 #if D4D_ROUND_CORNER_ENABLE != D4D_FALSE
294  void D4D_RRect(D4D_POINT* ppt, D4D_SIZE* psz, D4D_LINETYPE ltype, D4D_COLOR color, D4D_COOR radius);
295  void D4D_RRectXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_LINETYPE ltype, D4D_COLOR color, D4D_COOR radius);
296  void D4D_RRectTo(D4D_POINT* ppt, D4D_LINETYPE ltype, D4D_COLOR color, D4D_COOR radius);
298  void D4D_FillRRect(D4D_POINT* ppt, D4D_SIZE* psz, D4D_COLOR color, D4D_COOR radius);
302  void D4D_RBox(D4D_POINT* ppt, D4D_SIZE* psz, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill, D4D_COOR radius);
303  void D4D_RBoxXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill, D4D_COOR radius);
304  void D4D_RBoxTo(D4D_POINT* ppt, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill, D4D_COOR radius);
305  void D4D_RBoxToXY(D4D_COOR x, D4D_COOR y, D4D_LINETYPE ltype, D4D_COLOR colorLine, D4D_COLOR colorFill, D4D_COOR radius);
306  void D4D_FillQuadrant(D4D_POINT* pCenter, D4D_COOR radius, D4D_COLOR color, D4D_QUADRANT quadrant);
308  void D4D_Quadrant(D4D_POINT* pCenter, D4D_COOR radius, D4D_LINETYPE ltype, D4D_COLOR color, D4D_QUADRANT quadrant);
310  void D4D_FillRRectColorScale(D4D_POINT* ppt, D4D_SIZE* psz, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction, D4D_COOR radius); // experimental function
311  void D4D_FillRRectColorScaleXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction, D4D_COOR radius); // same
312  void D4D_FillRRectColorScaleTo(D4D_POINT* ppt, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction, D4D_COOR radius); // same
313  void D4D_FillRRectColorScaleToXY(D4D_COOR x, D4D_COOR y, D4D_COLOR startColor, D4D_COLOR endColor, D4D_DIRECTION direction, D4D_COOR radius); // same
314  void D4D_DrawTextRRectTab(D4D_POINT* ppt, D4D_SIZE* psz, D4D_STRING* buffText, D4D_TAB* pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd, D4D_COOR radius);
315  void D4D_DrawTextRRectTabTo(D4D_POINT* ppt, D4D_STRING* buffText, D4D_TAB* pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd, D4D_COOR radius);
316  void D4D_DrawTextRRectTabXY(D4D_COOR x1, D4D_COOR y1, D4D_COOR x2, D4D_COOR y2, D4D_STRING* buffText, D4D_TAB* pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd, D4D_COOR radius);
317  void D4D_DrawTextRRectTabToXY(D4D_COOR x, D4D_COOR y, D4D_STRING* buffText, D4D_TAB* pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd, D4D_COOR radius);
318 #else
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)
343 
344 #endif
345 
346 void D4D_DrawTextTabXY(D4D_COOR x, D4D_COOR y, D4D_STRING* buffText, D4D_TAB* pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd);
347 
348 void D4D_DrawTextRectTab(D4D_POINT* ppt, D4D_SIZE* psz, D4D_STRING* buffText, D4D_TAB* pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd);
349 void D4D_DrawTextRectTabTo(D4D_POINT* ppt, D4D_STRING* buffText, D4D_TAB* pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd);
350 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);
351 void D4D_DrawTextRectTabToXY(D4D_COOR x, D4D_COOR y, D4D_STRING* buffText, D4D_TAB* pTab, D4D_COLOR colorText, D4D_COLOR colorBkgd);
352 
355 #endif /* __D4D_BASIC_DRAW_H */
356 
357 
358 
359 
360 
361 
362 
363 
364 
365 
D4D_LINETYPE
Type definition of eGUI line type.
Definition: d4d_types.h:291
#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.
Definition: d4d_types.h:223
#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.
Definition: d4d_string.h:100
#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.
Definition: d4d_types.h:219
#define D4D_FillRRectColorScaleXY(x1, y1, x2, y2, startColor, endColor, direction, radius)
D4D_COOR radius
Screen corner radius.
Definition: d4d_screen.h:177
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.
Definition: d4d_scheme.c:286
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.
Definition: d4d_types.h:307
Type definition of eGUI tabulation structure.
Definition: d4d_types.h:253
D4D_BEVEL
Type definition of eGUI bevel type.
Definition: d4d_types.h:332
#define D4D_DrawTextRRectTabTo(ppt, buffText, pTab, colorText, colorBkgd, radius)
D4D_QUADRANT
Type definition of eGUI circle quadrant.
Definition: d4d_types.h:323
signed char sByte
Type definition of sByte (signed 8-bit).
Definition: d4d_types.h:155
#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.
Definition: d4d_types.h:230
#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.
Definition: d4d_types.h:262
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)