summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cnxtkwindow.hxx')
-rw-r--r--NxWidgets/libnxwidgets/include/cnxtkwindow.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx b/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx
index b20bc2a24..1ac801b95 100644
--- a/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx
+++ b/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx
@@ -1,7 +1,7 @@
/****************************************************************************
* NxWidgets/libnxwidgets/include/cnxtkwindow.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
@@ -306,13 +306,15 @@ namespace NXWidgets
* @param vector - Describes the line to be drawn
* @param width - The width of the line
* @param color - The color to use to fill the line
+ * @param capped - Draw a circular cap both ends of the line to support
+ * better line joins
*
* @return True on success; false on failure.
*/
bool drawLine(FAR struct nxgl_vector_s *vector,
- nxgl_coord_t width,
- nxgl_mxpixel_t color);
+ nxgl_coord_t width, nxgl_mxpixel_t color,
+ bool capped);
/**
* Draw a filled circle at the specified position, size, and color.