OSDN Git Service

doc/filters: document x and y drawtext expression parameters
authorStefano Sabatini <stefasab@gmail.com>
Tue, 1 May 2012 10:26:11 +0000 (12:26 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 3 May 2012 08:26:34 +0000 (10:26 +0200)
doc/filters.texi

index ae47034..a965e3f 100644 (file)
@@ -1423,6 +1423,12 @@ the height of the rendered text
 
 @item text_w, tw
 the width of the rendered text
+
+@item x, y
+the x and y offset coordinates where the text is drawn.
+
+These parameters allow the @var{x} and @var{y} expressions to refer
+each other, so you can for example specify @code{y=x/dar}.
 @end table
 
 If libavfilter was built with @code{--enable-fontconfig}, then