summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-04-11 19:04:25 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-04-21 11:13:30 +0200
commit9b2c57bef5e2f3f61a5fd708ba7d5351f5b3f386 (patch)
tree5f91c4ef886e1fedfc5cb51d0cadc95ba87f3090 /doc/filters.texi
parenteaa2d123f0a643664721593d248ece6bcd85f1e6 (diff)
drawtext: Add an alpha option
And document both `draw` and `alpha`. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 28e3292ff6..e36f9a2a86 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1209,6 +1209,17 @@ The timestamp, expressed in seconds. It's NAN if the input timestamp is unknown.
The default value of @var{x} and @var{y} is 0.
+@item draw
+Draw the text only if the expression evaluates as non-zero.
+The expression accepts the same variables @var{x, y} do.
+The default value is 1.
+
+@item alpha
+Draw the text applying alpha blending. The value can
+be either a number between 0.0 and 1.0
+The expression accepts the same variables @var{x, y} do.
+The default value is 1.
+
@item fontsize
The font size to be used for drawing text.
The default value of @var{fontsize} is 16.