From e2b7ac4bdd423f8fd658db359ca9d0ed800b289f Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sun, 30 Oct 2011 17:28:07 +0100 Subject: Even more Documentation. --- dmagick/c/pixel.d | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'dmagick/c/pixel.d') diff --git a/dmagick/c/pixel.d b/dmagick/c/pixel.d index 3ceb9e2..dda87d3 100644 --- a/dmagick/c/pixel.d +++ b/dmagick/c/pixel.d @@ -12,17 +12,20 @@ alias ptrdiff_t ssize_t; extern(C) { + /** + * The pixel color interpolation method. + */ enum InterpolatePixelMethod { - UndefinedInterpolatePixel, - AverageInterpolatePixel, - BicubicInterpolatePixel, - BilinearInterpolatePixel, - FilterInterpolatePixel, - IntegerInterpolatePixel, - MeshInterpolatePixel, - NearestNeighborInterpolatePixel, - SplineInterpolatePixel + UndefinedInterpolatePixel, /// + AverageInterpolatePixel, /// The average color of the surrounding four pixels. + BicubicInterpolatePixel, /// Fitted bicubic-spines of surrounding 16 pixels. + BilinearInterpolatePixel, /// A double linear interpolation of pixels (the default). + FilterInterpolatePixel, /// Use resize filter settings. + IntegerInterpolatePixel, /// The color of the top-left pixel (floor function). + MeshInterpolatePixel, /// Divide area into two flat triangular interpolations. + NearestNeighborInterpolatePixel, /// The nearest pixel to the lookup point (rounded function). + SplineInterpolatePixel /// Direct spline curves (colors are blurred). } -- cgit v1.2.3