GEGL and GTK+, a proposal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently there are two things using GTK in the gegl source tree.
- gtk-display operation in operations/workshop/external
- GeglView widget in examples/utils/

I want to move these things into a gtk utility library for gegl. My
motivation is twofold:
1) I want gegl to succeed in becoming a generic raster manipulation
library that is commonly used. For this to happen I think it is
important that we make it simple to use in a graphical application.
Showing a Gegl graph in an application should be less than 10 lines of
code added.
2) I am looking to use gegl in MyPaint (post version 1.0). We will
need some basic things (like a good view widget) and I want to develop
it in such a way that it can easily be reused by others.
delete
So I propose to:

- Create a new gegl-gtk repository, containing the new library
(alternative is to have it as a toplevel in gegl repo, if anyone can
present good arguments for that I don't mind)
- Add gegl-gtk component to bugzilla
- Move gtk-display and GeglView there, remove it from gegl repo

The new library will be licenced LGPLv3 like Gegl itself. This means
that the GeglView code will have to be relicensed from GPLv3. Anyone
that objects to this? As far as I can see only I, and Ãyvind have
significant stake in it.

Short term TODO list:

General
* Add GObject introspection support

GeglView
* Write tests
* Write benchmark
* Add API for getting model->view transformation matrix
* Add rotation support
* Add signals for drawing widget background and overlay
* Add property to change scaling/cropping/streching behavior

gtk-display
* Use GeglView instead of custom widget

examples
* Add a super basic example
* Add a way to manipulate view transformation to paint example

Longer term I hope that more widgets and utilities can be added, as
they are developed from the needs of GIMP and other GEGL consumers.

-- 
Jon Nordby - www.jonnor.com
_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer



[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux