From cc393d292f06c4cfdc9924350e1a2cdd4427a62b Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Mon, 18 Jul 2011 13:08:51 +0200 Subject: [PATCH] Documentation: Fixes for labels/references. --- Doc/sphinx/scriptref/bitmaps.rst | 6 +++--- Doc/sphinx/scriptref/colourfinding.rst | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Doc/sphinx/scriptref/bitmaps.rst b/Doc/sphinx/scriptref/bitmaps.rst index edd156f..ce5774a 100644 --- a/Doc/sphinx/scriptref/bitmaps.rst +++ b/Doc/sphinx/scriptref/bitmaps.rst @@ -300,7 +300,7 @@ FindBitmapToleranceIn Searches for the Bitmap *bmp* on the client in the area defined by *xs,ys,xe,ye*. Tolerance defines the tolerance per pixel when matching bitmaps. See -:ref:`scriptref_CTS` for more information on tolerance. +:ref:`scriptref-CTS` for more information on tolerance. Returns true if found. If found, *x, y* specifies the position where the bitmap was found. @@ -326,7 +326,7 @@ FindBitmapsSpiralTolerance Searches for the Bitmap *bmp* on the client in the area defined by *xs,ys,xe,ye*. Tolerance defines the tolerance per pixel when matching bitmaps. See -:ref:`scriptref_CTS` for more information on tolerance. +:ref:`scriptref-CTS` for more information on tolerance. Search starts from a point defined by *x, y*. Returns true if found. If found, each point in *TPA* specifies a match. @@ -339,7 +339,7 @@ FindBitmapSpiralTolerance Searches for the Bitmap *bmp* on the client in the area defined by *xs,ys,xe,ye*. Tolerance defines the tolerance per pixel when matching bitmaps. See -:ref:`scriptref_CTS` for more information on tolerance. +:ref:`scriptref-CTS` for more information on tolerance. Search starts from a point defined by *x, y*. Returns true if found. If found, *x, y* specifies the position where the bitmap was found. diff --git a/Doc/sphinx/scriptref/colourfinding.rst b/Doc/sphinx/scriptref/colourfinding.rst index 803fe86..714ff37 100644 --- a/Doc/sphinx/scriptref/colourfinding.rst +++ b/Doc/sphinx/scriptref/colourfinding.rst @@ -152,7 +152,7 @@ FindColorTolerance returns true if a colour within the given tolerance range *x2*, *y2*. Only the first point is returned in *x* and *y*. Whether or not a colour is within the tolerance range is determined by the -:ref:`scriptref_CTS` mode. It searches from the top left to the bottom right +:ref:`scriptref-CTS` mode. It searches from the top left to the bottom right and will stop after matching a point. .. _scriptref-findcolors: @@ -182,7 +182,7 @@ FindColorsTolerance returns true if at least one point was found. A point is found if it is within the given tolerance range *tol* of the given colour *col* and inside the box defined by *x1*, *y1*, *x2*, *y2*. Whether or not a color is within the tolerance range is determined by the -:ref:`scriptref_CTS` mode. +:ref:`scriptref-CTS` mode. It searches from the top left to the bottom right and will find all matching points in the area.