fltk/FL
ManoloFLTK b8c227a8f2 Fix Fl_Xlib_Graphics_Driver for drawing tiled images.
Conflicting demands arise in the implementation of class Fl_Xlib_Graphics_Driver
for drawing images with the XRender library :

1) Issue #163 leads to use a bilinear filter to draw-and-scale images.
2) This tends to blur the edges of drawn areas which is bad for tiled images
(that is because the edges get alpha values, even for an opaque source image).

This commit resolves the conflict adding a means to detect whether the library
is busy drawing a tiled image. If so, the bilinear filter is not applied, drawn areas
don't  have blurred edges, resulting in a nice tiling.

With this commit, these test apps perform correctly:
- tiled_image is correct at all scaling factor values also when modified
to use a depth-3 or a depth-4 Fl_RGB_Image as tile;
- unittests - Drawing Images is correct at all scaling factor values;
- pixmap_browser scales correctly up and down JPEG and PNG images.
2022-08-10 10:53:29 +02:00
..
Enumerations.H DOC: Provide a link to the "FLTK Standard Box Types" image (#397) 2022-02-21 16:42:08 +01:00
filename.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Adjuster.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fl_ask.H Rename FL/Fl_String_class.H to FL/Fl_String.H 2022-01-16 19:47:16 +01:00
fl_attr.h Avoid multiple definition of macro __fl_attr() 2021-10-17 12:24:39 +02:00
Fl_Bitmap.H Fix for issue #429 : Segfault with Ctrl+/- with current git version 2022-04-14 11:07:56 +02:00
Fl_BMP_Image.H Add error checking and improve constructor of Fl_BMP_Image 2021-09-27 19:26:04 +02:00
Fl_Box.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Browser_.H Fix whitespace and Makefile dependencies 2022-01-05 22:00:54 +01:00
Fl_Browser.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Cairo_Window.H Add note to doc of Fl_Cairo_Window about required build option. 2022-04-07 17:21:23 +02:00
Fl_Cairo.H Generate FL/fl_config.h rather than FL/abi-version.h 2021-12-18 22:44:08 +01:00
fl_casts.H Fix MSVC compiler warnings in test/icon.cxx (#109) 2021-08-31 16:52:54 +02:00
Fl_Chart.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Check_Browser.H Fix Fl_Check_Browser.{H|cxx} indentation (#121) (#132) 2020-09-06 20:02:02 +02:00
Fl_Check_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Choice.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Clock.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Color_Chooser.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Copy_Surface.H Simpler macOS implementation of capture of window titlebars. 2020-10-12 21:05:38 +02:00
Fl_Counter.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Device.H Consistently make Fl_Paged_Device::begin_page call Fl_Surface_Device::push_current. 2021-10-31 14:20:04 +01:00
Fl_Dial.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Double_Window.H Fix for issue #253: Remove xdbe support 2021-11-26 15:01:54 +01:00
fl_draw.H Documentation: add missing mentions of the Wayland platform. 2022-07-05 10:13:31 +02:00
Fl_Export.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_File_Browser.H Remove compiler warnings '-Wextra-semi' (see also PR #266) 2021-08-27 14:52:43 +02:00
Fl_File_Chooser.H expose position(int, int), x(), y(), w() and h() from Fl_File_Chooser (#80) 2022-02-12 20:46:12 +01:00
Fl_File_Icon.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_File_Input.H Remove compiler warnings about unused parameters (issue #307) 2021-12-09 08:09:51 +01:00
Fl_Fill_Dial.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Fill_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Flex.H Fl_Flex: support different margin sizes, improve docs 2022-08-07 16:00:41 +02:00
Fl_Float_Input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_FormsBitmap.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_FormsPixmap.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Free.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_GIF_Image.H Separate Fl_GIF_Image constructors with and w/o length arg 2021-10-02 18:40:32 +02:00
Fl_Gl_Window.H Documentation: add Wayland-related information for use of OpenGL 3. 2022-07-04 14:44:23 +02:00
Fl_Graphics_Driver.H Change prototype of virtual Fl_Graphics_Driver::pango_font_description(). 2022-07-20 08:37:21 +02:00
Fl_Group.H Fix default size_range() calculation (issue #392, STR 3352) 2022-03-01 13:45:51 +01:00
Fl_Help_Dialog.H Remove unnecessary system includes from public headers 2021-03-21 00:42:28 +01:00
Fl_Help_View.H Document that Fl_Help_View can't be used with FL_NO_BOX 2022-07-14 20:05:21 +02:00
Fl_Hold_Browser.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Hor_Fill_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Hor_Nice_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Hor_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Hor_Value_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Image_Surface.H Remove compiler warnings about unused parameters (issue #307) 2021-12-09 08:09:51 +01:00
Fl_Image.H Improve docs of Fl_Image and related classes (#431) 2022-04-20 17:26:33 +02:00
Fl_Input_.H Remove unused declaration of Fl_Char 2021-08-30 12:02:16 +02:00
Fl_Input_Choice.H Fixes #362 2022-01-13 15:26:27 -08:00
Fl_Input.H Make Fl_Input::handle_key() protected (#203) 2021-04-07 19:14:25 +02:00
Fl_Int_Input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_JPEG_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Light_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Line_Dial.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Menu_.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Menu_Bar.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Menu_Button.H Improve documentation on Fl_Menu_Item's and related methods (#332) 2022-03-07 18:28:32 +01:00
Fl_Menu_Item.H Update doc of struct Fl_Menu_Item whose shortcut_ member is now an int. 2022-04-07 12:12:20 +02:00
Fl_Menu_Window.H Fix for issue #254: remove hardware overlay support . 2021-11-26 15:16:15 +01:00
Fl_Menu.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fl_message.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Multi_Browser.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Multi_Label.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Multiline_Input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Multiline_Output.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Native_File_Chooser.H Remove compiler warnings about unused parameters (issue #307) 2021-12-09 08:09:51 +01:00
Fl_Nice_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Object.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Output.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Overlay_Window.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Pack.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Paged_Device.H Remove compiler warnings '-Wextra-semi' (see also PR #266) 2021-08-27 14:52:43 +02:00
Fl_Pixmap.H Fix for issue #429 : Segfault with Ctrl+/- with current git version 2022-04-14 11:07:56 +02:00
Fl_Plugin.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_PNG_Image.H Support all image depths (1-4) in fl_write_png() 2021-11-11 20:58:09 +01:00
Fl_PNM_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Positioner.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_PostScript.H Add Fl_PostScript_File_Device::set_current() and end_current() members. 2022-07-24 08:46:52 +02:00
Fl_Preferences.H Update documentation and dependencies 2022-03-25 17:27:46 +01:00
Fl_Printer.H Begin documenting the Wayland platform, new in FLTK version 1.4 2022-03-10 15:05:26 +01:00
Fl_Progress.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Radio_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Radio_Light_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Radio_Round_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Rect.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Repeat_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Return_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_RGB_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Roller.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Round_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Round_Clock.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Scroll.H Solves issue #308. 2021-12-08 10:26:10 -08:00
Fl_Scrollbar.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Secret_Input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Select_Browser.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Shared_Image.H Improve docs of Fl_Image and related classes (#431) 2022-04-20 17:26:33 +02:00
fl_show_colormap.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fl_show_input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Simple_Counter.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Simple_Terminal.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Single_Window.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Spinner.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fl_string_functions.h Rename FL/fl_string.h to FL/fl_string_functions.h 2022-01-16 19:47:16 +01:00
Fl_String.H Rename FL/Fl_String_class.H to FL/Fl_String.H 2022-01-16 19:47:16 +01:00
Fl_SVG_File_Surface.H Remove warnings about hidden virtual member functions. 2021-03-01 11:20:15 +01:00
Fl_SVG_Image.H Make Fl_Image::copy() 'const', including all derived classes 2022-04-13 16:50:30 +02:00
Fl_Sys_Menu_Bar.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Table_Row.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Table.H Remove compiler warnings about unused parameters (issue #307) 2021-12-09 08:09:51 +01:00
Fl_Tabs.H Fix documentation error in Fl_Tabs (#391) 2022-02-13 12:40:48 +01:00
Fl_Text_Buffer.H Remove unnecessary system includes from public headers 2021-03-21 00:42:28 +01:00
Fl_Text_Display.H Adding Text_Display color variables. (#384) 2022-01-30 22:14:40 +01:00
Fl_Text_Editor.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tile.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tiled_Image.H Fix Fl_Xlib_Graphics_Driver for drawing tiled images. 2022-08-10 10:53:29 +02:00
Fl_Timer.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Toggle_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Toggle_Light_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Toggle_Round_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tooltip.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tree_Item_Array.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tree_Item.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tree_Prefs.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tree.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fl_types.h Remove unused declaration of Fl_Char 2021-08-30 12:02:16 +02:00
fl_utf8.h Remove '#include <sys/stat.h>' from FL/platform_types.h 2022-04-03 22:01:41 +02:00
Fl_Valuator.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Value_Input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Value_Output.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Value_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Widget_Surface.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Widget.H Improve focus box drawing and documentation 2022-01-14 17:17:09 +01:00
Fl_Window.H Issue #359 RFE: access the MacOS windowid . 2022-03-21 11:41:51 +01:00
Fl_Wizard.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_XBM_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_XPM_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl.H OpenGL implementation of all fl_ "Drawing Fast Shapes" graphics calls (#385) 2022-02-06 15:22:24 +01:00
forms.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
gl2opengl.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
gl_draw.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
gl.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
glu.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
glut.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
mac.H macOS: add "Toggle printing of titlebar" to application menu - cont'd. 2022-02-02 11:19:09 +01:00
Makefile.in Update CMake and make files, minor edits only 2021-02-15 19:45:20 +01:00
math.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
names.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
platform_types.h Remove '#include <sys/stat.h>' from FL/platform_types.h 2022-04-03 22:01:41 +02:00
platform.H Remove platform-dependent type Fl_Bitmask (not in documented public API). 2022-03-24 10:00:01 +01:00
README.Xcode
wayland.H Cleaner declaration of public function fl_wl_cairo(). 2022-05-09 09:41:50 +02:00
win32.H Remove obsolete/disabled "boxcheat" code 2022-02-21 20:38:33 +01:00
x11.H Add support of Fl_Region to the Cairo graphics driver 2022-03-31 10:36:01 +02:00
x.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00

All FLTK header files are in the FL subdirectory of the fltk.framework.
Image header files are located in "fltk.framework/Headers/FL/images/".