mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
Add nxgl_rectunion()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1368 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -363,6 +363,19 @@ EXTERN void nxgl_rectintersect(FAR struct nxgl_rect_s *dest,
|
||||
FAR const struct nxgl_rect_s *src1,
|
||||
FAR const struct nxgl_rect_s *src2);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nxgl_rectunion
|
||||
*
|
||||
* Description:
|
||||
* Given two rectanges, src1 and src2, return the larger rectangle that
|
||||
* contains both, dest.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN void nxgl_rectunion(FAR struct nxgl_rect_s *dest,
|
||||
FAR const struct nxgl_rect_s *src1,
|
||||
FAR const struct nxgl_rect_s *src2);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nxgl_nonintersecting
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user