diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-04-05 08:50:01 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-04-05 08:50:01 -0600 |
commit | 0aa9b220495236e5ce855a2fd7565e3ccd94114a (patch) | |
tree | 53a6899895545101d71b84d18adef5c9ae19f0c1 /nuttx/Documentation | |
parent | b49b2136f16a49b753e7824cb68f2294599179ac (diff) | |
download | px4-nuttx-0aa9b220495236e5ce855a2fd7565e3ccd94114a.tar.gz px4-nuttx-0aa9b220495236e5ce855a2fd7565e3ccd94114a.tar.bz2 px4-nuttx-0aa9b220495236e5ce855a2fd7565e3ccd94114a.zip |
Add a 'capped' boolean parameter to all drawline/drawLine functions/methods. The idea is that this will produce better joining between lines
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r-- | nuttx/Documentation/NXGraphicsSubsystem.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/nuttx/Documentation/NXGraphicsSubsystem.html b/nuttx/Documentation/NXGraphicsSubsystem.html index c8c3e0b83..d13a115b5 100644 --- a/nuttx/Documentation/NXGraphicsSubsystem.html +++ b/nuttx/Documentation/NXGraphicsSubsystem.html @@ -12,7 +12,7 @@ <h1><big><font color="#3c34ec"> <i>NX Graphics Subsystem</i> </font></big></h1> - <p>Last Updated: December 28, 2013</p> + <p>Last Updated: April 5, 2015</p> </td> </tr> </table> @@ -1759,7 +1759,8 @@ int nx_filltrapezoid(NXWINDOW hwnd, FAR const struct nxgl_rect_s *clip, #include <nuttx/nx/nx.h> int nx_drawline(NXWINDOW hwnd, FAR struct nxgl_vector_s *vector, - nxgl_coord_t width, nxgl_mxpixel_t color[CONFIG_NX_NPLANES]); + nxgl_coord_t width, nxgl_mxpixel_t color[CONFIG_NX_NPLANES], + bool capped); </pre></ul> <p> <b>Description:</b> @@ -1780,6 +1781,8 @@ int nx_drawline(NXWINDOW hwnd, FAR struct nxgl_vector_s *vector, <dd>The width of the line <dt><code>color</code> <dd>The color to use to fill the line + <dt><code>capped</code> + <dd>Draw a circular cap both ends of the line to support better line joins </dl></ul> </p> <p> @@ -2385,7 +2388,8 @@ int nxtk_filltrapwindow(NXTKWINDOW hfwnd, #include <nuttx/nx/nxtk.h> int nxtk_drawlinewindow(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector, - nxgl_coord_t width, nxgl_mxpixel_t color[CONFIG_NX_NPLANES]); + nxgl_coord_t width, nxgl_mxpixel_t color[CONFIG_NX_NPLANES], + bool capped); </pre></ul> <p> <b>Description:</b> @@ -2406,6 +2410,8 @@ int nxtk_drawlinewindow(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector, <dd>The width of the line <dt><code>color</code> <dd>The color to use to fill the line + <dt><code>capped</code> + <dd>Draw a circular cap both ends of the line to support better line joins </dl></ul> </p> <p> @@ -2738,7 +2744,8 @@ int nxtk_filltraptoolbar(NXTKWINDOW hfwnd, FAR const struct nxgl_trapezoid_s *tr #include <nuttx/nx/nxtk.h> int nxtk_drawlinetoolbar(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector, - nxgl_coord_t width, nxgl_mxpixel_t color[CONFIG_NX_NPLANES]); + nxgl_coord_t width, nxgl_mxpixel_t color[CONFIG_NX_NPLANES], + capped); </pre></ul> <p> @@ -2759,6 +2766,8 @@ int nxtk_drawlinetoolbar(NXTKWINDOW hfwnd, FAR struct nxgl_vector_s *vector, <dd>The width of the line <dt><code>color</code> <dd>The color to use to fill the line + <dt><code>capped</code> + <dd>Draw a circular cap both ends of the line to support better line joins </dl></ul> </p> <p> |