aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/WinPort.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/win/WinPort.c b/win/WinPort.c
index 9187c57..569b0ad 100644
--- a/win/WinPort.c
+++ b/win/WinPort.c
@@ -39,6 +39,29 @@ static const char compile_id[]="$Compile$";
/*
*----------------------------------------------------------------------
*
+ * ZnPointInRegion --
+ *
+ * Test whether the specified point is inside a region.
+ *
+ * Results:
+ * Returns the boolean result of the test.
+ *
+ * Side effects:
+ * None.
+ *
+ *----------------------------------------------------------------------
+ */
+int
+ZnPointInRegion(TkRegion reg,
+ int x,
+ int y)
+{
+ return PtInRegion((HRGN) reg, x, y);
+}
+
+/*
+ *----------------------------------------------------------------------
+ *
* ZnUnionRegion --
*
* Compute the union of two regions.