diff options
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cgraphicsport.hxx')
-rw-r--r-- | NxWidgets/libnxwidgets/include/cgraphicsport.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/NxWidgets/libnxwidgets/include/cgraphicsport.hxx b/NxWidgets/libnxwidgets/include/cgraphicsport.hxx index c5148c8bc..4d529c94d 100644 --- a/NxWidgets/libnxwidgets/include/cgraphicsport.hxx +++ b/NxWidgets/libnxwidgets/include/cgraphicsport.hxx @@ -1,7 +1,7 @@ /**************************************************************************** * NxWidgets/libnxwidgets/include/cgraphicsport.hxx * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -242,11 +242,13 @@ namespace NXWidgets * @param x2 The x coordinate of the end point of the line. * @param y2 The y coordinate of the end point of the line. * @param color The color of the line. + * @param capped Draw a circular cap both ends of the line to support + * better line joins */ void drawLine(nxgl_coord_t x1, nxgl_coord_t y1, nxgl_coord_t x2, nxgl_coord_t y2, - nxgl_mxpixel_t color); + nxgl_mxpixel_t color, bool capped); /** * Draw a filled rectangle of the specified start position, end position, |