From d24a6b2633664959d0b0ab5fd1ab3aa140ab877f Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 14 Oct 2014 11:53:51 +0000 Subject: Move RGB image scaling algorithm methods in base class Fl_Image. See also discussion in fltk.coredev of Sept 07, 2014 and later with subject "Fixing the nearest-neighbour scaling". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- examples/clipboard.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') diff --git a/examples/clipboard.cxx b/examples/clipboard.cxx index 6518ff308..f72eaabf5 100644 --- a/examples/clipboard.cxx +++ b/examples/clipboard.cxx @@ -162,6 +162,8 @@ int main(int argc, char **argv) clip_callback(1, tabs); // use clipboard content at start #endif Fl::add_clipboard_notify(clip_callback, tabs); // will update with new clipboard content immediately or at application activation + + Fl_Image::RGB_scaling(FL_RGB_SCALING_BILINEAR); // set bilinear image scaling method return Fl::run(); } -- cgit v1.2.3