Macros | |
#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... | |
This section specifies the exact usage for each API macro.
#define D4D_DrawText | ( | ppt, | |
buffText, | |||
colorText, | |||
colorBkgd | |||
) |
Function that draw simple text on the screen.
ppt | - pointer on point structure that defines top left corner of draw text |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
Definition at line 113 of file d4d_basic_draw.h.
#define D4D_DrawTextRect | ( | ppt, | |
psz, | |||
buffText, | |||
colorText, | |||
colorBkgd | |||
) |
Function that draw text into defined rectangle on the screen.
ppt | - pointer on point structure that defines top left corner of draw text |
psz | - pointer on the size structure that defines size of the text rectangle |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
Definition at line 139 of file d4d_basic_draw.h.
#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.
ppt | - pointer on point structure that specify the second point of rectangle. The first one is takes last drawing point. |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
Definition at line 154 of file d4d_basic_draw.h.
#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.
x | - coordination in axis X that defines right corner of draw text |
y | - coordination in axis Y that defines bottom corner of draw text |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
Definition at line 185 of file d4d_basic_draw.h.
#define D4D_DrawTextRectXY | ( | x1, | |
y1, | |||
x2, | |||
y2, | |||
buffText, | |||
colorText, | |||
colorBkgd | |||
) |
Function that draw text into defined rectangle on the screen.
x1 | - coordination in axis X that defines left corner of draw text |
y1 | - coordination in axis Y that defines top corner of draw text |
x2 | - coordination in axis X that defines right corner of draw text |
y2 | - coordination in axis Y that defines bottom corner of draw text |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
Definition at line 170 of file d4d_basic_draw.h.
#define D4D_DrawTextRRect | ( | ppt, | |
psz, | |||
buffText, | |||
colorText, | |||
colorBkgd, | |||
radius | |||
) |
Function that draw text into defined rectangle on the screen with corner radius.
ppt | - pointer on point structure that defines top left corner of draw text |
psz | - pointer on the size structure that defines size of the text rectangle |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
radius | - radius or text rectangle |
Definition at line 200 of file d4d_basic_draw.h.
#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.
ppt | - pointer on point structure that specify the second point of rectangle. The first one is takes last drawing point. |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
radius | - radius or text rectangle |
Definition at line 216 of file d4d_basic_draw.h.
#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.
x | - coordination in axis X that defines right corner of draw text |
y | - coordination in axis Y that defines bottom corner of draw text |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
radius | - radius or text rectangle |
Definition at line 249 of file d4d_basic_draw.h.
#define D4D_DrawTextRRectXY | ( | x1, | |
y1, | |||
x2, | |||
y2, | |||
buffText, | |||
colorText, | |||
colorBkgd, | |||
radius | |||
) |
Function that draw text into defined rectangle on the screen with corner radius.
x1 | - coordination in axis X that defines left corner of draw text |
y1 | - coordination in axis Y that defines top corner of draw text |
x2 | - coordination in axis X that defines right corner of draw text |
y2 | - coordination in axis Y that defines bottom corner of draw text |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
radius | - radius or text rectangle |
Definition at line 233 of file d4d_basic_draw.h.
#define D4D_DrawTextTab | ( | ppt, | |
buffText, | |||
pTab, | |||
colorText, | |||
colorBkgd | |||
) |
Function that draw text on the screen and respects Tabulator functionality.
ppt | - pointer on point structure that defines top left corner of draw text |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
pTab | - pointer on the tabulator description table |
colorText | - color of text |
colorBkgd | - color of text background |
Definition at line 125 of file d4d_basic_draw.h.
#define D4D_DrawTextXY | ( | x, | |
y, | |||
buffText, | |||
colorText, | |||
colorBkgd | |||
) |
Function that draw text on the screen the coordination is sets directly XY.
x | - coordination in axis X that defines left corner of draw text |
y | - coordination in axis Y that defines top corner of draw text |
buffText | - pointer on the text buffer structure that contains text itself and its parameter |
colorText | - color of text |
colorBkgd | - color of text background |
Definition at line 102 of file d4d_basic_draw.h.