more doc fixes

This commit is contained in:
John Cupitt 2017-12-04 15:34:31 +00:00
parent dcf8588b97
commit 697c174bcd

View File

@ -132,31 +132,31 @@
/**
* VipsBlendMode:
* VIPS_BLEND_MODE_CLEAR: Where the second object is drawn, the first is removed.
* VIPS_BLEND_MODE_SOURCE: The second object is drawn as if nothing were below.
* VIPS_BLEND_MODE_OVER: The image shows what you would expect if you held two semi-transparent slides on top of each other.
* VIPS_BLEND_MODE_IN: The first object is removed completely, the second is only drawn where the first was.
* VIPS_BLEND_MODE_OUT: The second is drawn only where the first isn't.
* VIPS_BLEND_MODE_ATOP: This leaves the first object mostly intact, but mixes both objects in the overlapping area.
* VIPS_BLEND_MODE_DEST: Leaves the first object untouched, the second is discarded completely.
* VIPS_BLEND_MODE_DEST_OVER: Like OVER, but swaps the arguments.
* VIPS_BLEND_MODE_DEST_IN: Like IN, but swaps the arguments.
* VIPS_BLEND_MODE_DEST_OUT: Like OUT, but swaps the arguments.
* VIPS_BLEND_MODE_DEST_ATOP: Like ATOP, but swaps the arguments.
* VIPS_BLEND_MODE_XOR: Something like a difference operator.
* VIPS_BLEND_MODE_ADD: A bit like adding the two images.
* VIPS_BLEND_MODE_SATURATE: A bit like the darker of the two.
* VIPS_BLEND_MODE_MULTIPLY: At least as dark as the darker of the two inputs.
* VIPS_BLEND_MODE_SCREEN: At least as light as the lighter of the inputs.
* VIPS_BLEND_MODE_OVERLAY: Multiplies or screens colors, depending on the lightness.
* VIPS_BLEND_MODE_DARKEN: The darker of each component.
* VIPS_BLEND_MODE_LIGHTEN: The lighter of each component.
* VIPS_BLEND_MODE_COLOUR_DODGE: Brighten first by a factor second.
* VIPS_BLEND_MODE_COLOUR_BURN: Darken first by a factor of second.
* VIPS_BLEND_MODE_HARD_LIGHT: Multiply or screen, depending on lightness.
* VIPS_BLEND_MODE_SOFT_LIGHT: Darken or lighten, depending on lightness.
* VIPS_BLEND_MODE_DIFFERENCE: Difference of the two.
* VIPS_BLEND_MODE_EXCLUSION: Somewhat like DIFFERENCE, but lower-contrast.
* @VIPS_BLEND_MODE_CLEAR: where the second object is drawn, the first is removed
* @VIPS_BLEND_MODE_SOURCE: the second object is drawn as if nothing were below
* @VIPS_BLEND_MODE_OVER: the image shows what you would expect if you held two semi-transparent slides on top of each other
* @VIPS_BLEND_MODE_IN: the first object is removed completely, the second is only drawn where the first was
* @VIPS_BLEND_MODE_OUT: the second is drawn only where the first isn't
* @VIPS_BLEND_MODE_ATOP: this leaves the first object mostly intact, but mixes both objects in the overlapping area
* @VIPS_BLEND_MODE_DEST: leaves the first object untouched, the second is discarded completely
* @VIPS_BLEND_MODE_DEST_OVER: like OVER, but swaps the arguments
* @VIPS_BLEND_MODE_DEST_IN: like IN, but swaps the arguments
* @VIPS_BLEND_MODE_DEST_OUT: like OUT, but swaps the arguments
* @VIPS_BLEND_MODE_DEST_ATOP: like ATOP, but swaps the arguments
* @VIPS_BLEND_MODE_XOR: something like a difference operator
* @VIPS_BLEND_MODE_ADD: a bit like adding the two images
* @VIPS_BLEND_MODE_SATURATE: a bit like the darker of the two
* @VIPS_BLEND_MODE_MULTIPLY: at least as dark as the darker of the two inputs
* @VIPS_BLEND_MODE_SCREEN: at least as light as the lighter of the inputs
* @VIPS_BLEND_MODE_OVERLAY: multiplies or screens colors, depending on the lightness
* @VIPS_BLEND_MODE_DARKEN: the darker of each component
* @VIPS_BLEND_MODE_LIGHTEN: the lighter of each component
* @VIPS_BLEND_MODE_COLOUR_DODGE: brighten first by a factor second
* @VIPS_BLEND_MODE_COLOUR_BURN: darken first by a factor of second
* @VIPS_BLEND_MODE_HARD_LIGHT: multiply or screen, depending on lightness
* @VIPS_BLEND_MODE_SOFT_LIGHT: darken or lighten, depending on lightness
* @VIPS_BLEND_MODE_DIFFERENCE: difference of the two
* @VIPS_BLEND_MODE_EXCLUSION: somewhat like DIFFERENCE, but lower-contrast
*
* The various Porter-Duff and PDF blend modes. See vips_composite(),
* for example.
@ -165,7 +165,7 @@
*
* https://www.cairographics.org/operators
*
* The non-separable modes are not implemented.
* The non-separable modes are not implemented.
*/
/**
@ -205,7 +205,7 @@
*
* Pick the algorithm vips uses to decide image "interestingness". This is used
* by vips_smartcrop(), for example, to decide what parts of the image to
* keep.
* keep.
*
* See also: vips_smartcrop().
*/