]> rtime.felk.cvut.cz Git - opencv.git/blobdiff - opencv/doc/cxcore_drawing_functions.tex
Many fixes for Python function signatures
[opencv.git] / opencv / doc / cxcore_drawing_functions.tex
index a73422360bd5062099615034b9cbf73e44ce86a3..0e4fb3f1471ff5fd36a2a8f29f3a78c5c73c6005 100644 (file)
@@ -64,7 +64,7 @@ Draws contour outlines or interiors in an image.
 \cvdefC{
 void cvDrawContours( \par CvArr *img,\par CvSeq* contour,\par CvScalar external\_color,\par CvScalar hole\_color,\par int max\_level,\par int thickness=1,\par int lineType=8 );
 }
-\cvdefPy{DrawContours(img,contour,external\_color,hole\_color,max\_level,thickness=1,lineType=8,offset=(0,0)-> None}
+\cvdefPy{DrawContours(img,contour,external\_color,hole\_color,max\_level,thickness=1,lineType=8,offset=(0,0))-> None}
 
 \begin{description}
 \cvarg{img}{Image where the contours are to be drawn. As with any other drawing function, the contours are clipped with the ROI.}
@@ -229,7 +229,7 @@ Retrieves the width and height of a text string.
 
 \cvdefC{
 void cvGetTextSize( \par const char* textString,\par const CvFont* font,\par CvSize* textSize,\par int* baseline );}
-\cvdefPy{GetTextSize(textString,font)-> textSize,baseline}
+\cvdefPy{GetTextSize(textString,font)-> (textSize,baseline)}
 
 \begin{description}
 \cvarg{font}{Pointer to the font structure}
@@ -277,7 +277,7 @@ Initializes the line iterator.
 \cvdefC{
 int cvInitLineIterator( \par const CvArr* image,\par CvPoint pt1,\par CvPoint pt2,\par CvLineIterator* line\_iterator,\par int connectivity=8,\par int left\_to\_right=0 );
 }
-\cvdefPy{InitLineIterator(image, pt1, pt2, connectivity=8, left\_to\_right=0)}
+\cvdefPy{InitLineIterator(image, pt1, pt2, connectivity=8, left\_to\_right=0) -> None}
 
 \begin{description}
 \cvarg{image}{Image to sample the line from}
@@ -770,4 +770,4 @@ The function \texttt{putText} draws a text string in the image.
 Symbols that can not be rendered using the specified font are
 replaced question marks. See \cvCppCross{getTextSize} for a text rendering code example.
 
-\fi
\ No newline at end of file
+\fi