From 753452b53fc10150a4130bbfcda036b43ac69f39 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sat, 19 Jan 2008 16:48:24 +0000 Subject: [PATCH] Correct the example for path.map_coords Originally committed to SVN as r1780. --- OverLua/docs/lua-cairo.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OverLua/docs/lua-cairo.txt b/OverLua/docs/lua-cairo.txt index 75ce8c80d..c7eccb4a8 100644 --- a/OverLua/docs/lua-cairo.txt +++ b/OverLua/docs/lua-cairo.txt @@ -267,7 +267,7 @@ are the x and y coordinates of the point and returns two numbers which are the new x and y coordinates of the point. Example: Produce a "wavy" effect. -path.map_coords(function(x,y) return math.sin(x), math.cos(y) end) +path.map_coords(function(x,y) return x+math.sin(x), y+math.cos(y) end) res = path.fold_coords(func, start)