diff options
Diffstat (limited to 'src/bltGrElemLine.C')
-rw-r--r-- | src/bltGrElemLine.C | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bltGrElemLine.C b/src/bltGrElemLine.C index 1b76298..5e4f752 100644 --- a/src/bltGrElemLine.C +++ b/src/bltGrElemLine.C @@ -45,6 +45,10 @@ #include "bltBitmap.h" #include "bltConfig.h" +#define PointInRegion(e,x,y) \ + (((x) <= (e)->right) && ((x) >= (e)->left) && \ + ((y) <= (e)->bottom) && ((y) >= (e)->top)) + #define COLOR_DEFAULT (XColor *)1 #define PATTERN_SOLID ((Pixmap)1) |