index 1e30d0a34a7fe9907c66801ed7b6e4e7328bb660..907429257bf2f1e8dc45f04c21e1f676305589ab 100644 (file)
#ifndef __NR_PIXBLOCK_SCALER_H__
#define __NR_PIXBLOCK_SCALER_H__
+/*
+ * Functions for blitting pixblocks using scaling
+ *
+ * Author:
+ * Niko Kiirala <niko@kiirala.com>
+ *
+ * Copyright (C) 2006 Niko Kiirala
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
#include "libnr/nr-pixblock.h"
namespace NR {
+/** Blits the second pixblock to the first.
+ * Image in source pixblock is scaled to the size of destination pixblock
+ * using bicubic interpolation.
+ * Source pixblock is not modified in process.
+ * Only works for 32-bpp images.
+ */
void scale_bicubic(NRPixBlock *to, NRPixBlock *from);
} /* namespace NR */