From 0f643a45fe2ca7f44bbe9bb3f26a7ab073083224 Mon Sep 17 00:00:00 2001
From: Gregory Nutt
Description:
@@ -1781,8 +1781,17 @@ int nx_drawline(NXWINDOW hwnd, FAR struct nxgl_vector_s *vector,
color
capped
- caps
+
+/* Line caps */
+
+#define NX_LINECAP_NONE 0x00, /* No line caps */
+#define NX_LINECAP_PT1 0x01 /* Line cap on pt1 on of the vector only */
+#define NX_LINECAP_PT2 0x02 /* Line cap on pt2 on of the vector only */
+#define NX_LINECAP_BOTH 0x03 /* Line cap on both ends of the vector only */
+
@@ -2389,7 +2398,7 @@ int nxtk_filltrapwindow(NXTKWINDOW hfwnd, int nxtk_drawlinewindow(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector, nxgl_coord_t width, nxgl_mxpixel_t color[CONFIG_NX_NPLANES], - bool capped); + uint8_t caps);
Description: @@ -2410,8 +2419,17 @@ int nxtk_drawlinewindow(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector,
color
capped
- caps
+ +/* Line caps */ + +#define NX_LINECAP_NONE 0x00, /* No line caps */ +#define NX_LINECAP_PT1 0x01 /* Line cap on pt1 on of the vector only */ +#define NX_LINECAP_PT2 0x02 /* Line cap on pt2 on of the vector only */ +#define NX_LINECAP_BOTH 0x03 /* Line cap on both ends of the vector only */ +
@@ -2745,7 +2763,7 @@ int nxtk_filltraptoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_trapezoid_s *tr int nxtk_drawlinetoolbar(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector, nxgl_coord_t width, nxgl_mxpixel_t color[CONFIG_NX_NPLANES], - capped); + uint8_t caps);
@@ -2766,8 +2784,17 @@ int nxtk_drawlinetoolbar(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector,
color
capped
- caps
+ +/* Line caps */ + +#define NX_LINECAP_NONE 0x00, /* No line caps */ +#define NX_LINECAP_PT1 0x01 /* Line cap on pt1 on of the vector only */ +#define NX_LINECAP_PT2 0x02 /* Line cap on pt2 on of the vector only */ +#define NX_LINECAP_BOTH 0x03 /* Line cap on both ends of the vector only */ +