mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Fix PIC32 ramfunc logic; add rectangle graphic functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4050 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -457,6 +457,29 @@ 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_intersecting
|
||||
*
|
||||
* Description:
|
||||
* Return true if the rectangles intersect.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN bool nxgl_intersecting(FAR const struct nxgl_rect_s *rect1,
|
||||
FAR const struct nxgl_rect_s *rect2);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nxgl_rectadd
|
||||
*
|
||||
* Description:
|
||||
* Return the rectangle that contains exactly two other rectanges.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN void nxgl_rectadd(FAR struct nxgl_rect_s *dest,
|
||||
FAR const struct nxgl_rect_s *src1,
|
||||
FAR const struct nxgl_rect_s *src2);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nxgl_rectunion
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user