Gimp/plug-ins/python
Jehan 0e6c06044c libgimp, plug-ins: massively improve GimpBrushSelectButton.
- Increase the default size to 40x40 and multiply it by the current window scale
  factor to have decent preview size.
- Make the brush preview always square with a GtkAspectFrame: even though
  brushes are not necessarily square, this is a much more obvious size rather
  than letting GTK choose a random allocation size which ends up very weird
  looking.
- Scale down the brush to the biggest possible dimensions which fit the square
  preview area (if the brush native size is already smaller, I don't scale up
  though) while keeping aspect ratio: previous implementation was really weird,
  as we were only seeing a tiny corner of much brushes as we weren't scaling
  them down. Obviously I use new gimp_brush_get_buffer|mask() functions for
  this as it supports scaling.
- Implement drawing color brushes too: the previous implementation was only
  drawing the brush mask, which was absolutely not what would be expected for
  such brushes.
- Add a white background behind color brushes with transparency.
- Simplify and clean up the code.

One of the consequences of this new implementation is obviously that it's
mandatory to call gegl_init() when using this widget.
2023-10-01 21:02:33 +02:00
..
python-console plug-ins: forgotten Python plug-ins had to be ported to new Gimp.Procedure.new(). 2023-10-01 20:52:01 +02:00
colorxhtml.py plug-ins: fix the GimpSaveProcedure plug-ins in Python. 2023-10-01 20:52:02 +02:00
file-openraster.py plug-ins: file-openraster also moved to new gimp_load_procedure_new(). 2023-10-01 21:02:32 +02:00
foggify.py plug-ins, libgimp: override set_i18n() for all our core plug-ins. 2022-06-05 01:57:02 +02:00
gradients-save-as-css.py plug-ins: forgotten Python plug-ins had to be ported to new Gimp.Procedure.new(). 2023-10-01 20:52:01 +02:00
histogram-export.py plug-ins: add and correct gettext macros in Python 2023-07-25 21:26:57 +00:00
meson.build plug-ins: the Python test plug-in should be installed for unstable branch and… 2023-07-14 16:45:39 +02:00
palette-offset.py plug-ins: forgotten Python plug-ins had to be ported to new Gimp.Procedure.new(). 2023-10-01 20:52:01 +02:00
palette-sort.py plug-ins: forgotten Python plug-ins had to be ported to new Gimp.Procedure.new(). 2023-10-01 20:52:01 +02:00
palette-to-gradient.py plug-ins: forgotten Python plug-ins had to be ported to new Gimp.Procedure.new(). 2023-10-01 20:52:01 +02:00
pygimp.interp.in Fix pygimp.interp generation, add /usr/bin/python3 alias 2020-07-28 17:17:18 +02:00
python-eval.py plug-ins, libgimp: move GimpBatchProcedure's run function to use config objects. 2023-10-01 20:52:01 +02:00
spyro-plus.py libgimpwidgets, plug-ins: translate dialog buttons 2023-07-15 14:29:14 +00:00
test-dialog.py libgimp, plug-ins: massively improve GimpBrushSelectButton. 2023-10-01 21:02:33 +02:00