Adding GDISP_NEED_ARCSECTOR stuff that was missing

This commit is contained in:
Joel Bodenmann 2014-10-27 23:54:20 +01:00 committed by inmarket
parent 3825cec8f8
commit 1541ae0d37
2 changed files with 9 additions and 0 deletions

View File

@ -55,6 +55,7 @@
//#define GDISP_NEED_CIRCLE FALSE
//#define GDISP_NEED_ELLIPSE FALSE
//#define GDISP_NEED_ARC FALSE
//#define GDISP_NEED_ARCSECTORS FALSE
//#define GDISP_NEED_CONVEX_POLYGON FALSE
//#define GDISP_NEED_SCROLL FALSE
//#define GDISP_NEED_PIXELREAD FALSE

View File

@ -101,6 +101,14 @@
#ifndef GDISP_NEED_ELLIPSE
#define GDISP_NEED_ELLIPSE FALSE
#endif
/**
* @brief Are arc sector functions needed.
* @details Defaults to FALSE
* @note Uses integer algorithms only. It does not use any trig or floating point.
*/
#ifndef GDISP_NEED_ARCSECTORS
#define GDISP_NEED_ARCSECTORS FALSE
#endif
/**
* @brief Are arc functions needed.
* @details Defaults to FALSE