Index: trunk/doc/pslib/psLibSDRS.tex
===================================================================
--- trunk/doc/pslib/psLibSDRS.tex	(revision 4260)
+++ trunk/doc/pslib/psLibSDRS.tex	(revision 4261)
@@ -1,3 +1,3 @@
-%%% $Id: psLibSDRS.tex,v 1.287 2005-06-15 01:11:17 jhoblitt Exp $
+%%% $Id: psLibSDRS.tex,v 1.288 2005-06-15 01:19:11 price Exp $
 \documentclass[panstarrs,spec]{panstarrs}
 
@@ -5018,7 +5018,7 @@
 
 \begin{prototype}
-void psImageMaskRegion (psImage *image, psRegion region, bool logical_and, int maskValue);
-void psImageKeepRegion (psImage *image, psRegion region, bool logical_and, int maskValue);
-\end{prototype
+void psImageMaskRegion(psImage *image, psRegion region, const char *op, psMask maskValue);
+void psImageKeepRegion(psImage *image, psRegion region, const char *op, psMask maskValue);
+\end{prototype}
 
 These two complementary functions set bit specified bits
@@ -5029,10 +5029,12 @@
 outside the region, ignoring pixels inside.  The pixel values are set
 by combining the existing pixel value and the given \code{maskValue}
-with a logical \code{and} if \code{logical_and} is set, otherwise it
-uses a logical \code{or}.
-
-\begin{prototype}
-void psImageMaskCircle (psImage *image, double x, double y, double radius, bool logical_and, int maskValue);
-void psImageKeepCircle (psImage *image, double x, double y, double radius, bool logical_and, int maskValue);
+with a logical operation.  The allowed operations are \code{=},
+\code{AND}, \code{OR} and \code{XOR}.
+
+\begin{prototype}
+void psImageMaskCircle(psImage *image, double x, double y, double radius, const char *op,
+                       psMask maskValue);
+void psImageKeepCircle(psImage *image, double x, double y, double radius, const char *op,
+                       psMask maskValue);
 \end{prototype}
 
@@ -5044,6 +5046,7 @@
 \code{psImageKeepCircle}, sets the bits outside the circle, ignoring
 pixels inside.  The pixel values are set by combining the existing
-pixel value and the given \code{maskValue} with a logical \code{and}
-if \code{logical_and} is set, otherwise it uses a logical \code{or}.
+pixel value and the given \code{maskValue} with a logical operation.
+The allowed operations are \code{=}, \code{AND}, \code{OR} and
+\code{XOR}.
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
