diff options
author | Sebastian Geerken <devnull@localhost> | 2013-06-15 10:24:57 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-06-15 10:24:57 +0200 |
commit | 9b731579c3984b08ca62a1035113c65d90a0b6e6 (patch) | |
tree | ca27c6730296da822316848b5bce15c121bd5bba /dw/fltkimgbuf.cc | |
parent | c72baf1e578ac14a3d861f8f6013557a5ba2c9dc (diff) |
Comments and ChangeLog.
Diffstat (limited to 'dw/fltkimgbuf.cc')
-rw-r--r-- | dw/fltkimgbuf.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dw/fltkimgbuf.cc b/dw/fltkimgbuf.cc index 2feeecc2..94755f21 100644 --- a/dw/fltkimgbuf.cc +++ b/dw/fltkimgbuf.cc @@ -1,7 +1,7 @@ /* * Dillo Widget * - * Copyright 2005-2007 Sebastian Geerken <sgeerken@dillo.org> + * Copyright 2005-2007, 2012-2013 Sebastian Geerken <sgeerken@dillo.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -184,11 +184,11 @@ inline void FltkImgbuf::scaleRowBeautiful (int row, const core::byte *data) * in scaleRowBeautiful. * * The algorithm is rather simple. If the scaled buffer is smaller - * (both width and height) than the original surface, each pixel in - * the scaled surface is assigned a rectangle of pixels in the - * original surface; the resulting pixel value (red, green, blue) is - * simply the average of all pixel values. This is pretty fast and - * leads to rather good results. + * (both width and height) than the original buffer, each pixel in the + * scaled buffer is assigned a rectangle of pixels in the original + * buffer; the resulting pixel value (red, green, blue) is simply the + * average of all pixel values. This is pretty fast and leads to + * rather good results. * * Nothing special (like interpolation) is done when scaling up. * |