fltk/src
Albrecht Schlosser dc2fb581b7 Improve X11 (16-bit) clipping of lines and rectangles.
In FLTK 1.3.x only horizontal and vertical long lines with endpoints
outside the 16-bit coordinate space could be drawn with proper X11
coordinate clipping. Now arbitrary lines are clipped so they can be
drawn with X11 functions.

All rectangles are clipped as well (as in 1.3).

Todo: The code needs better documentation and clipping of polygons,
circles, curves etc. is still missing. The next step should be the
clipping of polygons...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-09 22:30:07 +00:00
..
drivers Improve X11 (16-bit) clipping of lines and rectangles. 2018-03-09 22:30:07 +00:00
xutf8 Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
allfiles.xbm
cgdebug.h
CMakeLists.txt Android: need more source files 2018-03-03 14:05:18 +00:00
cmap.cxx
config_lib.h Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
d1_mask.xbm
d1.xbm
dump_compose.c
ew_mask.xbm
ew.xbm
fastarrow.h
filename_absolute.cxx Replace chdir() with new wrapper fl_chdir(). 2017-11-12 18:00:45 +00:00
filename_expand.cxx Rewrite filename_expand.cxx under the driver model. 2016-04-07 16:54:20 +00:00
filename_ext.cxx Rewrite filename_ext.cxx for the driver model. 2016-04-08 16:00:26 +00:00
filename_isdir.cxx Remove S_IFMT from the public FLTK API 2016-04-15 07:33:26 +00:00
filename_list.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
filename_match.cxx
filename_setext.cxx
Fl_abort.cxx
Fl_add_idle.cxx
Fl_Adjuster.cxx
fl_arc.cxx Add Doxygen comments for members of the Fl_Graphics_Driver class. 2016-04-24 08:38:11 +00:00
Fl_arg.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
fl_ask.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Bitmap.cxx Remove leading underscore from labeltyps as far as possible. 2017-09-12 13:05:48 +00:00
Fl_BMP_Image.cxx
Fl_Box.cxx
fl_boxtype.cxx
Fl_Browser_.cxx Fixed small doxygen inconsistencies for do_callback value. 2017-09-13 21:56:49 +00:00
Fl_Browser_load.cxx
Fl_Browser.cxx Fixes STR# 3388, format_char(0) can cause array overruns/garbage characters. 2017-10-18 15:48:29 +00:00
Fl_Button.cxx
fl_call_main.c Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Chart.cxx
Fl_Check_Browser.cxx
Fl_Check_Button.cxx
Fl_Choice.cxx Bringing over fix [r11907] from 1.3 current to the porting branch. 2016-08-30 19:16:50 +00:00
Fl_Clock.cxx Allow to disable shadows in Fl_Clock and derived widgets. 2017-05-15 15:30:52 +00:00
fl_cmap.h
Fl_cocoa.mm MacOS: correct handling of window tabbing/untabbing together with GUI rescaling. 2018-02-20 12:09:32 +00:00
Fl_Color_Chooser.cxx
fl_color.cxx Remove Doxygen warning. Doxygen does not know that unsigned and unsigned int are the same type. 2016-04-23 04:39:14 +00:00
Fl_compose.cxx Move dnd and character-composition related functions from Fl_System_Driver to Fl_Screen_Driver 2016-03-31 19:55:03 +00:00
Fl_Copy_Surface.cxx Add tests to avoid null pointer errors 2016-04-27 16:42:20 +00:00
Fl_Counter.cxx
fl_cursor_help.xpm
fl_cursor_nesw.xpm
fl_cursor_none.xpm
fl_cursor_nwse.xpm
fl_cursor_wait.xpm
fl_cursor.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
fl_curve.cxx Add Doxygen comments for members of the Fl_Graphics_Driver class. 2016-04-24 08:38:11 +00:00
Fl_Device.cxx X11 platform: cleaner implementation of changing the active drawing surface and maintaining clip regions. 2017-08-24 12:40:29 +00:00
Fl_Dial.cxx Remove unnecessary Fl_Widget_Tracker from Fl_Dial's handle(). 2017-06-29 01:13:05 +00:00
fl_diamond_box.cxx
Fl_display.cxx
fl_dnd_win32.cxx Windows: remove necessity to compile with -DFLTK_HIDPI_SUPPORT to make WIN32 FLTK apps DPI-aware. 2018-03-09 16:27:27 +00:00
fl_dnd_x.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Double_Window.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
fl_draw_pixmap.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
fl_draw.cxx Fix line wrap at word end when string widths are true double values (non integer). 2017-02-19 15:49:48 +00:00
fl_encoding_latin1.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
fl_encoding_mac_roman.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
fl_engraved_label.cxx
Fl_File_Browser.cxx Add one more argument to virtual Fl_System_Driver::file_browser_load_filesystem() giving length of the filename argument 2016-10-19 08:40:41 +00:00
Fl_File_Chooser2.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_File_Chooser.cxx
Fl_File_Chooser.fl
fl_file_dir.cxx
Fl_File_Icon2.cxx Replace remaining calls to getenv() with fl_getenv(). 2017-10-13 14:58:30 +00:00
Fl_File_Icon.cxx Remove compilation errors in Fl_File_Icon.cxx with MSVC compiler with new method Fl_System_Driver::file_type(). 2016-04-11 13:07:08 +00:00
Fl_File_Input.cxx Rewrite Fl_File_Input.cxx under the driver model. 2016-04-10 18:36:47 +00:00
fl_font.cxx virtualized some Region calls. 2016-04-17 15:36:23 +00:00
Fl_get_key_mac.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_get_key_win32.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_get_key.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_get_system_colors.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_GIF_Image.cxx
Fl_Gl_Choice.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Gl_Choice.H Add GLContext to the set of platform-dependent types defined in FL/platform_types.h 2016-05-13 06:45:40 +00:00
Fl_Gl_Device_Plugin.cxx
Fl_Gl_Overlay.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Gl_Window.cxx STR#3450: Draw text with OpenGL using textures on all platforms. 2018-02-07 15:34:44 +00:00
fl_gleam.cxx
Fl_grab.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Graphics_Driver.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Group.cxx Replace static protected bool Fl_Window_Driver::is_a_rescale by a private static variable and a public getter. 2017-07-28 15:51:05 +00:00
fl_gtk.cxx
Fl_Help_Dialog_Dox.cxx
Fl_Help_Dialog.cxx Remove unnecessary #include files from Fl_Help_View.H 2017-08-18 15:46:20 +00:00
Fl_Help_Dialog.fl
Fl_Help_View.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Image_Surface.cxx Continue support for GUI rescaling under MacOS: fix fl_XXX_offscreen() functions and Fl_Image_Surface class 2017-12-26 16:07:51 +00:00
Fl_Image.cxx Remove leading underscore from labeltyps as far as possible. 2017-09-12 13:05:48 +00:00
fl_images_core.cxx Rename fl_open_ext() parameter 'translation' to 'binary'. 2017-10-15 12:34:24 +00:00
Fl_Input_.cxx Fix compiler warnings. 2016-05-31 12:09:52 +00:00
Fl_Input_Choice.cxx Remove superfluous semicolon. 2017-03-12 21:33:33 +00:00
Fl_Input.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_JPEG_Image.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
fl_labeltype.cxx Improve label alignment docs and border case implementations. 2017-02-27 17:00:41 +00:00
Fl_Light_Button.cxx
Fl_lock.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_MacOS_Sys_Menu_Bar.mm Document that fl_mac_set_about() is deprecated, MacOS-specific and replaced by cross-platform Fl_Sys_Menu_Bar::about(). 2018-02-22 17:04:37 +00:00
Fl_Menu_.cxx Documentation fixes and clarifications. 2016-07-09 17:14:22 +00:00
Fl_Menu_add.cxx Documentation fixes and clarifications. 2016-07-09 17:14:22 +00:00
Fl_Menu_Bar.cxx
Fl_Menu_Button.cxx
Fl_Menu_global.cxx
Fl_Menu_Window.cxx
Fl_Menu.cxx MSWindows fixes for previous commits. 2016-04-17 17:45:44 +00:00
Fl_Multi_Label.cxx Add missing Fl_Labeltype and Fl_Boxtype definitions. 2017-09-11 18:54:10 +00:00
Fl_Native_File_Chooser_FLTK.cxx Make Fl_Native_File_Chooser_FLTK.cxx compilable with FL_PORTING on. 2016-09-11 08:09:00 +00:00
Fl_Native_File_Chooser_GTK.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Native_File_Chooser_MAC.mm Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Native_File_Chooser_WIN32.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Native_File_Chooser.cxx Fix Fl_Native_File_Chooser::filter_value() 2017-07-28 14:06:18 +00:00
fl_open_uri.cxx Remove Doxygen warnings. 2016-04-23 06:43:04 +00:00
fl_oval_box.cxx
fl_overlay_visual.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Overlay_Window.cxx Fix incorrect difference between branches 1.3 and 1.4 in an Fl_Overlay_Window constructor. 2017-07-24 06:32:26 +00:00
fl_overlay.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_own_colormap.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Pack.cxx
Fl_Paged_Device.cxx
Fl_Pixmap.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
fl_plastic.cxx
Fl_PNG_Image.cxx Fix compiler warning and potential error in PNG error handling. 2017-09-10 11:38:23 +00:00
Fl_PNM_Image.cxx
Fl_porting.cxx virtualized Fl_Graphics_Driver::global_gc(), a function that should probably not exeist. 2016-04-17 14:45:25 +00:00
Fl_Positioner.cxx
Fl_Preferences.cxx STR #2823.2/2: Improved Fl_Preferences "dirty" flag handling. 2017-07-07 21:00:17 +00:00
Fl_Printer.cxx Add --enable-print option to configure to allow building without print support on X11 platforms. 2016-12-01 17:31:29 +00:00
Fl_Progress.cxx
fl_read_image.cxx Fix error when running Doxygen (continued). 2018-02-10 17:49:01 +00:00
fl_rect.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Repeat_Button.cxx
Fl_Return_Button.cxx
Fl_Roller.cxx
fl_round_box.cxx
Fl_Round_Button.cxx
fl_rounded_box.cxx Improve drawing of rounded box (STR #2943). 2016-07-15 22:12:30 +00:00
Fl_Screen_Driver.cxx Remove Fl::run_also_windowless() and FL::wait_also_windowless() from planned public FLTK 1.4 API. 2018-02-20 09:08:38 +00:00
fl_scroll_area.cxx Fix typo Fl --> FL 2016-04-04 08:18:26 +00:00
Fl_Scroll.cxx Introduce HiDPI + rescaling support for the X11 platform (+ partial support for WIN32) 2017-05-17 11:54:18 +00:00
Fl_Scrollbar.cxx
fl_set_font.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
fl_shadow_box.cxx
Fl_Shared_Image.cxx Remove undesired rounding when Fl_Shared_Image::scale() is called with proportional = 0. 2017-10-12 13:05:00 +00:00
fl_shortcut.cxx More Android changes. 2018-03-02 20:03:04 +00:00
fl_show_colormap.cxx
Fl_Simple_Terminal.cxx Small doc tweaks for clarity. 2017-10-22 02:58:35 +00:00
Fl_Single_Window.cxx
Fl_Slider.cxx Fix more compiler warnings. 2016-04-05 21:15:45 +00:00
Fl_Spinner.cxx Enable Up/Down keys in Fl_Spinner if input has focus (STR #2989). 2017-03-10 21:47:08 +00:00
Fl_SVG_Image.cxx Reorganize nanosvg bundled library. 2018-02-04 21:39:50 +00:00
fl_symbols.cxx
Fl_Sys_Menu_Bar.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_System_Driver.cxx Move xxx_also_windowless member functions from Fl_System_Driver to Fl_Screen_Driver. 2018-02-08 12:47:40 +00:00
Fl_Table_Row.cxx Avoid #include's of unrelated system headers in Fl_Table*.H. 2017-08-18 15:16:08 +00:00
Fl_Table.cxx Remove "#ifdef _WIN32" that made this source file break the separation between platform-independent and -dependent files. 2018-02-21 06:56:21 +00:00
Fl_Tabs.cxx Code formatting only. No significant changes. 2017-06-21 20:00:28 +00:00
Fl_Text_Buffer.cxx Added printf() and vprintf() to Fl_Text_Buffer 2017-10-08 20:38:36 +00:00
Fl_Text_Display.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Text_Editor.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Tile.cxx Introduce Fl_Group::bounds(), deprecate Fl_Group::sizes(). 2017-07-07 19:16:40 +00:00
Fl_Tiled_Image.cxx
Fl_Tooltip.cxx Rewrite Fl_Tooltip.cxx for the driver model. 2016-04-09 15:37:40 +00:00
Fl_Tree_Item_Array.cxx Remove FL_ABI_VERSION clauses from the Fl_Tree class source code 2016-04-13 19:18:56 +00:00
Fl_Tree_Item.cxx Bringing over fix [r11840] from 1.3 current to the porting branch. 2016-07-21 00:51:14 +00:00
Fl_Tree_Prefs.cxx Complete rewriting of Fl_Tree_Prefs.cxx under the driver model. 2016-04-14 20:58:20 +00:00
Fl_Tree.cxx Bringing over fix [r11986] from 1.3 current to the porting branch. 2016-09-26 19:31:29 +00:00
fl_utf8.cxx Add missing platform wrapper fl_chdir() for chdir(). 2017-11-10 12:56:00 +00:00
Fl_Valuator.cxx
Fl_Value_Input.cxx
Fl_Value_Output.cxx
Fl_Value_Slider.cxx
fl_vertex.cxx Remove unnecessary #include statements and compilation guards. 2017-08-14 17:10:26 +00:00
Fl_visual.cxx
Fl_Widget_Surface.cxx Fix fl_read_image() under MacOS platform when GUI is rescaled. 2018-02-09 13:48:22 +00:00
Fl_Widget.cxx Improve docs of Fl_Widget::callback() and do_callback(). 2017-07-20 15:16:37 +00:00
Fl_win32.cxx Windows: remove necessity to compile with -DFLTK_HIDPI_SUPPORT to make WIN32 FLTK apps DPI-aware. 2018-03-09 16:27:27 +00:00
Fl_Window_Driver.cxx Remove Fl_Window_Driver::current_cursor() and its platform-specific forms that are now unused. 2018-02-16 16:24:32 +00:00
Fl_Window_fullscreen.cxx
Fl_Window_hotspot.cxx
Fl_Window_iconize.cxx
Fl_Window.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_Wizard.cxx
Fl_x.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_XBM_Image.cxx Documentation fixes. 2016-10-14 14:33:18 +00:00
Fl_XColor.H
Fl_XPM_Image.cxx Documentation fixes. 2016-10-14 14:33:18 +00:00
Fl.cxx Remove Fl::run_also_windowless() and FL::wait_also_windowless() from planned public FLTK 1.4 API. 2018-02-20 09:08:38 +00:00
flstring.c
flstring.h Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
forms_bitmap.cxx
forms_compatibility.cxx Rename misspelled files. 2016-11-12 13:28:53 +00:00
forms_free.cxx
forms_fselect.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
forms_pixmap.cxx
forms_timer.cxx Make forms_timer.cxx platform-independent calling virtual function Fl_System_Driver::gettime(). 2018-02-22 06:00:28 +00:00
freeglut_geometry.cxx
freeglut_stroke_mono_roman.cxx
freeglut_stroke_roman.cxx
freeglut_teapot_data.h
freeglut_teapot.cxx
gl_draw.cxx STR#3450: Draw text with OpenGL using textures on all platforms. 2018-02-07 15:34:44 +00:00
gl_start.cxx STR#3450: Draw text with OpenGL using textures on all platforms. 2018-02-07 15:34:44 +00:00
glut_compatibility.cxx STR#3444: Add MacOS support for application rescaling (not quite complete) 2017-12-18 08:52:55 +00:00
glut_font.cxx
makedepend Update dependencies. 2018-02-25 19:24:45 +00:00
Makefile Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
mediumarrow.h
new.xbm
ns_mask.xbm
ns.xbm
numericsort.c Fix compiler warnings [-Wmissing-declarations]. 2016-04-09 10:15:42 +00:00
print_panel.cxx Replace remaining calls to getenv() with fl_getenv(). 2017-10-13 14:58:30 +00:00
print_panel.h
scandir_posix.c Avoid "empty translation unit" compiler warning. 2016-11-12 13:49:48 +00:00
scandir_win32.c Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
screen_xywh.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
slowarrow.h
tile.xpm
up.xbm
utf8_internal.h Add platform-independent internal UTF-8 header file. 2016-04-09 17:55:12 +00:00
vsnprintf.c
Xutf8.h Add platform-independent internal UTF-8 header file. 2016-04-09 17:55:12 +00:00