-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I'm working on a gtk application, and I have a need to display a composite 
image. i.e. a
base image, with a 2nd (much smaller) image overlaying a part of the bigger 1st 
image.
Periodically I may need to move the smaller image to a different location 
within the
bigger image.

My first attempt was to use the GtkFixed widget, and put both images into the 
GtkFixed
container. The problem I faced is that GtkFixed will always layer the larger 
image on top
of the smaller image (at least this is my observation, and I cannot figure out 
how to
control the layering order for GtkFixed).

In [minimal] playing around with Gimp, I am aware that Gimp has the ability to 
create a
composite image, out of multiple layers. I'm kinda curious as to the algorithms 
(pointers
to within the code welcome), and whether there are widgets that are more suited 
to this,
rather than the GtkFixed (that I could not get to work for me).

I do not mind loading a pixbuf, and then replacing a designated section of it 
with the
smaller image's pixbuf, if that is what it takes... I cannot figure out from 
the gtk
pixbuf devhelp pages how I might achieve this though.

Any thoughts/comments are most welcome.

Thanks, and best rgds,

- -Greg

- --
+---------------------------------------------------------------------+

Please also check the log file at "/dev/null" for additional information.
                (from /var/log/Xorg.setup.log)

| Greg Hosler                                   [EMAIL PROTECTED]    |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFH8NCq404fl/0CV/QRAnelAJ42K0vVFIy/4g6u1CCQGTdu+v2buwCbBpIZ
8xUITPrCcFIJqPbMpCu98Ew=
=lmCC
-----END PGP SIGNATURE-----
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to