RSS/Atom feed Twitter
Site is read-only, email is disabled

Layer Combination Modes - what files, please?

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Layer Combination Modes - what files, please? Jeff Trefftzs 23 Sep 02:33
  Layer Combination Modes - what files, please? Joao S. O. Bueno 23 Sep 06:21
   Layer Combination Modes - what files, please? Sven Neumann 23 Sep 12:58
    Layer Combination Modes - what files, please? Joao S. O. Bueno 23 Sep 19:15
     Layer Combination Modes - what files, please? Helvetix Victorinox 24 Sep 03:18
Jeff Trefftzs
2003-09-23 02:33:53 UTC (over 21 years ago)

Layer Combination Modes - what files, please?

Hi,

I've been rooting through the source for gimp-1.3.20 looking in vain for the functions that handle the layer combination modes. Can someone please point me to the right files?

TIA,

Joao S. O. Bueno
2003-09-23 06:21:12 UTC (over 21 years ago)

Layer Combination Modes - what files, please?

On Monday 22 September 2003 9:33 pm, Jeff Trefftzs wrote:

Hi,

I've been rooting through the source for gimp-1.3.20 looking in vain for the functions that handle the layer combination modes. Can someone please point me to the right files?

TIA,

gimp/app/paint-funcs

The easies file to have a grasp on is paint-funcs-generic.h
in that directory. Just changing the auto-generated enuns in the /gimp/tools tree (and ./configuring gimp to be int the mainterner mode), you can add extra modes.

However, if you are messing around the modes, please DO contact me. I am working on a "Custom layer mode" which I plan to have ready in time for GIMP 2.2 . This is the ONE mode to unclutter the layer modes menu. :-)

I have also implemented, before my work pn the custom layer mode, an extra "xor" layer mode, I can send you the diff to that, or even the rendering engine of the custon layer mode which is mostly ready.

Regards, JS
->
Este e-mail é, exceto pelas partes citadas de outros e-mails, copyright(c) de João Sebastião de Oliveira Bueno. Nenhuma cópia deste e-mail ou parte do mesmo pode existir nas dependências de, ou em posse de funcionários, de associações protetoras de direitos autorais Brasileiras, dos Estados Unidos da América, ou de outros países. Em particular essa exceção do direito de leitura e posse deste e-mail se extende à ABRA, ABPI, ABES, BSA, RIAA e MPAA. Violadores estão infringindo as leis internacionais de direitos autorais e sujeitos às penalidades cabíveis. Você pode re-utilizar, emendar, acrescentar suas palavras e citar e re-enviar qualquer parte do mesmo, desde que essa nota seja preservada e se não pertencer a alguma das entidades supracitadas.

Sven Neumann
2003-09-23 12:58:53 UTC (over 21 years ago)

Layer Combination Modes - what files, please?

Hi,

"Joao S. O. Bueno" writes:

On Monday 22 September 2003 9:33 pm, Jeff Trefftzs wrote:

Hi,

I've been rooting through the source for gimp-1.3.20 looking in vain for the functions that handle the layer combination modes. Can someone please point me to the right files?

TIA,

gimp/app/paint-funcs

The functions in app/paint-funcs are scheduled for removal. The composite functionality lives in app/composite now.

Sven

Joao S. O. Bueno
2003-09-23 19:15:24 UTC (over 21 years ago)

Layer Combination Modes - what files, please?

Sven Neumann wrote:

Hi,

"Joao S. O. Bueno" writes:

On Monday 22 September 2003 9:33 pm, Jeff Trefftzs wrote:

Hi,

I've been rooting through the source for gimp-1.3.20 looking in vain for the functions that handle the layer combination modes. Can someone please point me to the right files?

TIA,

gimp/app/paint-funcs

The functions in app/paint-funcs are scheduled for removal. The composite functionality lives in app/composite now.

:-)
Oh well...
It reminds me..it was still gimp 1.3.17 when I last had time to tweak with my custom mode stuff.

I will take a look at the new stuff soon - I found the code at paint-funcs a bit messy, I just hope they got a little cleanner.

Are all the old funcs gone and rewritten? or was something copy & pasted?

Sven

Regards,

JS
->

Helvetix Victorinox
2003-09-24 03:18:36 UTC (over 21 years ago)

Layer Combination Modes - what files, please?

All the old funcs are gone and rewritten. Some things were copy and pasted. There is a more complicated answer, but it would probably be best to just look in app/composite. I'm happy to answer questions.

Helvetix

On Tue, Sep 23, 2003 at 02:15:24PM -0300, Joao S. O. Bueno wrote:

Sven Neumann wrote:

Hi,

"Joao S. O. Bueno" writes:

On Monday 22 September 2003 9:33 pm, Jeff Trefftzs wrote:

Hi,

I've been rooting through the source for gimp-1.3.20 looking in vain for the functions that handle the layer combination modes. Can someone please point me to the right files?

TIA,

gimp/app/paint-funcs

The functions in app/paint-funcs are scheduled for removal. The composite functionality lives in app/composite now.

:-)
Oh well...
It reminds me..it was still gimp 1.3.17 when I last had time to tweak with my custom mode stuff.

I will take a look at the new stuff soon - I found the code at paint-funcs a bit messy, I just hope they got a little cleanner.

Are all the old funcs gone and rewritten? or was something copy & pasted?

Sven

Regards,

JS
->