diff options
author | Tor Andersson <tor@ccxvii.net> | 2012-02-07 00:30:17 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2012-02-07 00:30:17 +0100 |
commit | 409020b21a2d822b57f3494eda355f5aca62dc2e (patch) | |
tree | 56bc17c7442773cbd6ad960023efe2c15b14d5a9 /draw/draw_device.c | |
parent | 5cd45b68ad936006f3783abbcc064658d5e3508a (diff) | |
download | mupdf-409020b21a2d822b57f3494eda355f5aca62dc2e.tar.xz |
Rename a few functions.
Diffstat (limited to 'draw/draw_device.c')
-rw-r--r-- | draw/draw_device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/draw/draw_device.c b/draw/draw_device.c index e3ddc09e..279ef64d 100644 --- a/draw/draw_device.c +++ b/draw/draw_device.c @@ -805,7 +805,7 @@ fz_draw_fill_shade(fz_device *devp, fz_shade *shade, fz_matrix ctm, float alpha) fz_paint_shade(dev->ctx, shade, ctm, dest, bbox); if (shape) - fz_clear_pixmap_rect_with_color(dev->ctx, shape, 255, bbox); + fz_clear_pixmap_rect_with_value(dev->ctx, shape, 255, bbox); if (alpha < 1) { @@ -1199,9 +1199,9 @@ fz_draw_begin_mask(fz_device *devp, fz_rect rect, int luminosity, fz_colorspace if (!colorspace) colorspace = fz_device_gray; fz_convert_color(dev->ctx, colorspace, colorfv, fz_device_gray, &bc); - fz_clear_pixmap_with_color(dev->ctx, dest, bc * 255); + fz_clear_pixmap_with_value(dev->ctx, dest, bc * 255); if (shape) - fz_clear_pixmap_with_color(dev->ctx, shape, 255); + fz_clear_pixmap_with_value(dev->ctx, shape, 255); } else { |