From ad6f42c86951f7b50ce1e9669b277ee4e8946dfa Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 2 Jan 2015 21:34:34 +0000 Subject: [PATCH] remove dead proto vips_draw_line_mask() was never implemented .. use vips__draw_line_direct() instead. --- doc/reference/function-list.xml | 3 +-- libvips/include/vips/draw.h | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/doc/reference/function-list.xml b/doc/reference/function-list.xml index 378a53f1..91d74c08 100644 --- a/doc/reference/function-list.xml +++ b/doc/reference/function-list.xml @@ -1045,8 +1045,7 @@ draw_line draw a line on an image - vips_draw_line(), vips_draw_line1(), - vips_draw_line_mask(), vips_draw_line_mask1() + vips_draw_line(), vips_draw_line1() draw_circle diff --git a/libvips/include/vips/draw.h b/libvips/include/vips/draw.h index 673403d3..bfd93a20 100644 --- a/libvips/include/vips/draw.h +++ b/libvips/include/vips/draw.h @@ -71,13 +71,6 @@ int vips_draw_line( VipsImage *image, int vips_draw_line1( VipsImage *image, double ink, int x1, int y1, int x2, int y2, ... ) __attribute__((sentinel)); -int vips_draw_line_mask( VipsImage *image, - double *ink, int n, int x1, int y1, int x2, int y2, - VipsImage *mask, ... ) - __attribute__((sentinel)); -int vips_draw_line_mask1( VipsImage *image, - double ink, int x1, int y1, int x2, int y2, VipsImage *mask, ... ) - __attribute__((sentinel)); int vips_draw_circle( VipsImage *image, double *ink, int n, int cx, int cy, int radius, ... )