diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-28 13:57:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-28 13:57:20 +0000 |
commit | 35a206fe888d688884f93b3870054cea09a53b5e (patch) | |
tree | f75533acfd8d27628be7f087712df8386cf3e2f5 /nuttx/graphics/nxbe/nxbe.h | |
parent | 0039d56702a25aec6ff26bed044cd607bc0306b4 (diff) | |
download | px4-nuttx-35a206fe888d688884f93b3870054cea09a53b5e.tar.gz px4-nuttx-35a206fe888d688884f93b3870054cea09a53b5e.tar.bz2 px4-nuttx-35a206fe888d688884f93b3870054cea09a53b5e.zip |
Add more trapezoid support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1324 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxbe/nxbe.h')
-rw-r--r-- | nuttx/graphics/nxbe/nxbe.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nuttx/graphics/nxbe/nxbe.h b/nuttx/graphics/nxbe/nxbe.h index 958ea9f35..077d8214e 100644 --- a/nuttx/graphics/nxbe/nxbe.h +++ b/nuttx/graphics/nxbe/nxbe.h @@ -287,6 +287,26 @@ EXTERN void nxbe_fill(FAR struct nxbe_window_s *wnd, nxgl_mxpixel_t color[CONFIG_NX_NPLANES]); /**************************************************************************** + * Name: nxbe_filltrapezoid + * + * Description: + * Fill the specified rectangle in the window with the specified color + * + * Input Parameters: + * wnd - The window structure reference + * rect - The location to be filled + * col - The color to use in the fill + * + * Return: + * None + * + ****************************************************************************/ + +EXTERN void nxbe_filltrapezoid(FAR struct nxbe_window_s *wnd, + FAR const struct nxgl_trapezoid_s *trap, + nxgl_mxpixel_t color[CONFIG_NX_NPLANES]); + +/**************************************************************************** * Name: nxbe_move * * Description: |