diff options
| author | inmarket <andrewh@inmarket.com.au> | 2014-07-15 12:41:40 +1000 | 
|---|---|---|
| committer | inmarket <andrewh@inmarket.com.au> | 2014-07-15 12:41:40 +1000 | 
| commit | 0e74c164c3eac14f6e99d1a5cc4e0563faeff5d0 (patch) | |
| tree | ad1e2e9942db826dfaaf681c8a0cef48a87eabf2 /src/gwin/sys_defs.h | |
| parent | 92d972cfd83b67961dc63d60c5317ec2651eb256 (diff) | |
| parent | db4719bd1d3cef2597f1bf443f8d82a27f233eae (diff) | |
| download | uGFX-0e74c164c3eac14f6e99d1a5cc4e0563faeff5d0.tar.gz uGFX-0e74c164c3eac14f6e99d1a5cc4e0563faeff5d0.tar.bz2 uGFX-0e74c164c3eac14f6e99d1a5cc4e0563faeff5d0.zip  | |
Merge branch 'master' into newmouse
Diffstat (limited to 'src/gwin/sys_defs.h')
| -rw-r--r-- | src/gwin/sys_defs.h | 17 | 
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gwin/sys_defs.h b/src/gwin/sys_defs.h index 830827b2..4b103d11 100644 --- a/src/gwin/sys_defs.h +++ b/src/gwin/sys_defs.h @@ -892,6 +892,23 @@ extern "C" {  		 * @api  		 */  		void gwinFillConvexPoly(GHandle gh, coord_t tx, coord_t ty, const point *pntarray, unsigned cnt); +	 +		/** +		 * @brief	Draw a thick line in the window +		 * @details	The line thickness is specified in pixels. The line ends can +		 *		be selected to be either flat or round. +		 * @note	Uses gdispGFillConvexPoly() internally to perform the drawing. +		 * @note	Uses the current foreground color to draw the line +		 *  +		 * @param[in] gh		The window handle +		 * @param[in] x0,y0		The start position +		 * @param[in] x1,y1		The end position +		 * @param[in] width		The width of the line +		 * @param[in] round		Use round ends for the line +		 *  +		 * @api +		 */ +		void gwinDrawThickLine(GHandle gh, coord_t x0, coord_t y0, coord_t x1, coord_t y1, coord_t width, bool_t round);  	#endif  /*-------------------------------------------------  | 
