1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 17:35:08 +00:00
serenity/Userland/Libraries/LibGUI
Matthew Olsson ff76a5b8d2 LibGfx: Add directional floating-point scaling to Painter
This allows the painter to be scaled separately in both directions, and
not just in integer intervals. This is crucial for proper SVG viewBox
support.

Most bitmap-related things verify the scale to be one as of now.
2021-05-02 22:48:06 +02:00
..
Wizards Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AboutDialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AboutDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractButton.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractButton.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractSlider.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractSlider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractTableView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractTableView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractView.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
AbstractView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Action.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Action.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ActionGroup.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ActionGroup.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Application.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Application.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AutocompleteProvider.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
AutocompleteProvider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BoxLayout.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BoxLayout.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Breadcrumbbar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Breadcrumbbar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Button.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Button.h LibGUI: Fix issue where buttons with a menu sometimes stayed depressed 2021-04-29 01:01:39 +02:00
Calendar.cpp Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Calendar.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
CheckBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CheckBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Clipboard.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Clipboard.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt LibGUI: Make common locations configurable 2021-04-26 18:57:57 +02:00
ColorInput.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColorInput.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColorPicker.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColorPicker.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColumnsView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColumnsView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ComboBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ComboBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Command.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Command.h LibGUI+HackStudio: Remove editing specific hacks from GUI::Command 2021-05-02 14:49:46 +02:00
CommonLocationsProvider.cpp LibGUI: Make common locations configurable 2021-04-26 18:57:57 +02:00
CommonLocationsProvider.h LibGUI: Make common locations configurable 2021-04-26 18:57:57 +02:00
Desktop.cpp Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
Desktop.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Dialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Dialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DisplayLink.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
DisplayLink.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DragOperation.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DragOperation.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EditingEngine.cpp EditingEngine: Split selection from movement functions 2021-04-27 09:03:38 +02:00
EditingEngine.h EditingEngine: Split selection from movement functions 2021-04-27 09:03:38 +02:00
EmojiInputDialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EmojiInputDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.h WindowServer+LibGUI+Taskbar: Store window progress as Optional<int> 2021-05-02 10:43:39 +02:00
FileIconProvider.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FileIconProvider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FilePicker.cpp Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
FilePicker.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
FilePickerDialog.gml LibGUI: Bump up common locations width from 90 to 95 2021-04-30 23:27:29 +02:00
FileSystemModel.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
FileSystemModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
FilteringProxyModel.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
FilteringProxyModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
FocusSource.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontPicker.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
FontPicker.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontPickerDialog.gml LibGUI: Allow arbitrary font size in FontPicker 2021-04-16 23:54:03 +02:00
FontPickerWeightModel.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Frame.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Frame.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLFormatter.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
GMLFormatter.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
GMLLexer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLLexer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLParser.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLParser.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLSyntaxHighlighter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLSyntaxHighlighter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GroupBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GroupBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HeaderView.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
HeaderView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Icon.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Icon.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
IconView.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
IconView.h LibGUI: Remove some unused cruft from GUI::IconView 2021-04-24 18:50:12 +02:00
ImageWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ImageWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
INILexer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
INILexer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
INISyntaxHighlighter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
INISyntaxHighlighter.h Userland: Fix two misaligned copyright headers 2021-04-29 00:59:26 +02:00
InputBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InputBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ItemListModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
JsonArrayModel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
JsonArrayModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Label.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Label.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Layout.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Layout.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LazyWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LazyWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LinkLabel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LinkLabel.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ListView.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
ListView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Margins.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Menu.cpp Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
Menu.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Menubar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Menubar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MenuItem.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MenuItem.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MessageBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MessageBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Model.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Model.h Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
ModelEditingDelegate.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ModelIndex.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ModelIndex.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ModelRole.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ModelSelection.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
ModelSelection.h Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
MultiView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MultiView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Notification.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Notification.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
OpacitySlider.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
OpacitySlider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Painter.cpp LibGfx: Add directional floating-point scaling to Painter 2021-05-02 22:48:06 +02:00
Painter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessChooser.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessChooser.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Progressbar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Progressbar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RadioButton.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RadioButton.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegularEditingEngine.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegularEditingEngine.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ResizeCorner.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ResizeCorner.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RunningProcessesModel.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
RunningProcessesModel.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ScrollableWidget.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
ScrollableWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Scrollbar.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Scrollbar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SeparatorWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SeparatorWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Shortcut.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Shortcut.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Slider.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Slider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SortingProxyModel.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
SortingProxyModel.h Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
SpinBox.cpp LibGUI: Allow bypassing hook when setting SpinBox range 2021-04-23 11:08:11 +02:00
SpinBox.h LibGUI: Allow bypassing hook when setting SpinBox range 2021-04-23 11:08:11 +02:00
Splitter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Splitter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StackWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StackWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Statusbar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Statusbar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TableView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TableView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TabWidget.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
TabWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextDocument.cpp LibGUI: Improve a FIXME comment in TextDocument 2021-05-01 19:42:29 +02:00
TextDocument.h LibGUI+HackStudio: Remove editing specific hacks from GUI::Command 2021-05-02 14:49:46 +02:00
TextEditor.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
TextEditor.h EditingEngine: Split selection from movement functions 2021-04-27 09:03:38 +02:00
TextPosition.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextRange.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Toolbar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Toolbar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ToolbarContainer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ToolbarContainer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TreeView.cpp Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
TreeView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UndoStack.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UndoStack.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Variant.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Variant.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
VimEditingEngine.cpp VimEditingEngine: allow selection of the endline character 2021-04-27 19:05:16 +02:00
VimEditingEngine.h VimEditingEngine: allow selection of the endline character 2021-04-27 19:05:16 +02:00
Widget.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Widget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Window.cpp WindowServer+LibGUI+Taskbar: Store window progress as Optional<int> 2021-05-02 10:43:39 +02:00
Window.h WindowServer+LibGUI+Taskbar: Store window progress as Optional<int> 2021-05-02 10:43:39 +02:00
WindowManagerServerConnection.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowManagerServerConnection.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowServerConnection.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowServerConnection.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00