diff options
Diffstat (limited to 'doc/refman.tex')
-rw-r--r-- | doc/refman.tex | 71 |
1 files changed, 57 insertions, 14 deletions
diff --git a/doc/refman.tex b/doc/refman.tex index 97eac1a..6a44b30 100644 --- a/doc/refman.tex +++ b/doc/refman.tex @@ -415,8 +415,45 @@ Parler de current, all. are changed and the command return an empty string. \end{blockindent} -\zinccmd{coords}{tagOrId ?add/remove? ?index? ?coordList?} +\zinccmd{coords}{tagOrId ?add/remove? ?contour? ?index? ?coordList?} \begin{blockindent} + This command understands the following forms: + + .r coords tagOrId contour + Get all coordinates of contour. + + .r coords tagOrId contour coordList + Set all coordinates of contour. + + .r coords tagOrId contour index + Get coordinate at index in contour. + + .r coords tagOrId contour index coordList + Set coordinate at index in contour. + + .r coords tagOrId remove contour index + Remove coordinate at index in contour. + + .r coords tagOrId add contour coordList + Add coordinates at the end of contour. + + .r coords tagOrId add contour index coordList + Add coordinates at in index in contour. + + And the slightly abbreviated forms: + + .r coords tagOrId + Get all coordinates of contour 0. + + .r coords tagOrId coordList + Set all coordinates of contour 0. + + .r coords tagOrId remove index + Remove coordinate at index in contour 0. + + .r coords tagOrId add coordList + Add coordinates at the end of contour 0. + \end{blockindent} \zinccmd{currentpart}{} @@ -841,20 +878,26 @@ Parler de current, all. Each field description refers to the field of same index in the field array. - If \verb+sChar+ is \verb+'x'+, the dimension is in pixel. If \verb+sChar+ is \verb+'f'+, the - dimension is in percentage of the mean width/height of a character (in the - field font). If \verb+sChar+ is \verb+'i'+, the dimension is in percentage of the size - of the image in the field. If \verb+sChar+ is \verb+'a'+, the dimension is automatically - adjusted to match the field's content plus the given value in pixels.\\ + If \verb+sChar+ is \verb+'x'+, the dimension is in pixel. If \verb+sChar+ is + \verb+'f'+, the dimension is in percentage of the mean width/height of a + character (in the field font). If \verb+sChar+ is \verb+'i'+, the dimension + is in percentage of the size of the image in the field. If \verb+sChar+ is + \verb+'a'+, the dimension is automatically adjusted to match the field's + content plus the given value in pixels. If \verb+sChar+ is \verb+'l'+, + the dimension is automatically adjusted to match the global size of the + label (not counting fields with \verb+'l'+ size specs). The positional + parameter is not used with this size specification (always 0) and it is not + possible to reference the field in another field spec. \\ - If \verb+pChar+ is \verb-'+'- the position is in pixel (possibly negative). If it is - \verb+'<'+ the position is the index of the field at the left/top of which the - current field should be attached. If it is \verb+'>'+ the position is the index - of the field at the right/bottom of which the current field should be - attached. If \verb+pChar+ is \verb+'^'+ the position is the index of the field used to - align the left/top border (left on left or top on top). If \verb+pChar+ is \verb+'$'+ the %$ - position is the index of the field used to align the right/bottom border - (right on right or bottom on bottom).\\ + If \verb+pChar+ is \verb-'+'- the position is in pixel (possibly negative). + If it is \verb+'<'+ the position is the index of the field at the left/top + of which the current field should be attached. If it is \verb+'>'+ the + position is the index of the field at the right/bottom of which the current + field should be attached. If \verb+pChar+ is \verb+'^'+ the position is + the index of the field used to align the left/top border (left on left or + top on top). If \verb+pChar+ is \verb+'$'+ the %$ position is the index + of the field used to align the right/bottom border (right on right or + bottom on bottom).\\ The positional parameters can be omitted if there is only one field. \end{blockindent} |