From 15853504a7123b209f95633d5529dd5e2f770b8f Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 13 May 2017 11:49:32 +0100 Subject: [PATCH] fix gtk-doc, again --- TODO | 9 --------- doc/using-cpp.xml | 2 +- libvips/convolution/sharpen.c | 34 +++++++++++++++++----------------- 3 files changed, 18 insertions(+), 27 deletions(-) diff --git a/TODO b/TODO index 7216d1c5..36f83c6e 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,3 @@ -- use g_win32_get_package_installation_directory_of_module() for prefix on win - -- fix gtk-doc, again - - look at sharpen graph - -- cpp bandjoin should use bandjoin_const() where possible ... currently - uses new_from_image - - not sure about utf8 error messages on win - strange: diff --git a/doc/using-cpp.xml b/doc/using-cpp.xml index 413f4379..4e6d6d7b 100644 --- a/doc/using-cpp.xml +++ b/doc/using-cpp.xml @@ -148,7 +148,7 @@ main( int argc, char **argv ) Now `new_image` has the same size as `image`, but has one band, and every - pixel has the value 12. You can pass a `std::vector` as the + pixel has the value 12. You can pass a `std::vector<double>` as the argument to make a constant image with a different number of bands. diff --git a/libvips/convolution/sharpen.c b/libvips/convolution/sharpen.c index ab4c78ac..3595852e 100644 --- a/libvips/convolution/sharpen.c +++ b/libvips/convolution/sharpen.c @@ -413,23 +413,23 @@ vips_sharpen_init( VipsSharpen *sharpen ) * The lookup table is formed like this: * * |[ - * ^ - * y2 |- - - - - ----------- - * | / - * | / slope m2 - * | .../ - * -x1 | ... | - * -------------------...----------------------> - * | ... | x1 - * |... slope m1 - * / | - * / m2 | - * / | - * / | - * / | - * / | - * ______/ _ _ _ _ _ _ | -y3 - * | + * . ^ + * . y2 |- - - - - ----------- + * . | / + * . | / slope m2 + * . | .../ + * . -x1 | ... | + * . -------------------...----------------------> + * . | ... | x1 + * . |... slope m1 + * . / | + * . / m2 | + * . / | + * . / | + * . / | + * . / | + * . ______/ _ _ _ _ _ _ | -y3 + * . | * ]| * * For screen output, we suggest the following settings (the defaults):