Re: Monochrome rendering - extension to GuiPainter

2007-10-08 Thread Jean-Marc Lasgouttes
Stefan Schimanski [EMAIL PROTECTED] writes: Sure. On enterMonochromeMode you pass a min and a max color. Every drawing command sets the QPen color before it does the real drawing. But in monochrome mode the color is first converted into greyscale and then mapped into the interval [min,max].

Re: Monochrome rendering - extension to GuiPainter

2007-10-08 Thread Stefan Schimanski
Am 08.10.2007 um 12:09 schrieb Jean-Marc Lasgouttes: Stefan Schimanski [EMAIL PROTECTED] writes: Sure. On enterMonochromeMode you pass a min and a max color. Every drawing command sets the QPen color before it does the real drawing. But in monochrome mode the color is first converted into

Re: Monochrome rendering - extension to GuiPainter

2007-10-08 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > Sure. On enterMonochromeMode you pass a min and a max color. Every > drawing command sets the QPen color before it does the real drawing. > But in monochrome mode the color is first converted into greyscale > and then mapped into the interval

Re: Monochrome rendering - extension to GuiPainter

2007-10-08 Thread Stefan Schimanski
Am 08.10.2007 um 12:09 schrieb Jean-Marc Lasgouttes: Stefan Schimanski <[EMAIL PROTECTED]> writes: Sure. On enterMonochromeMode you pass a min and a max color. Every drawing command sets the QPen color before it does the real drawing. But in monochrome mode the color is first converted into

Monochrome rendering - extension to GuiPainter

2007-10-07 Thread Stefan Schimanski
Hi! For my dynamic macros I need an extension to the Painter for monochrome rendering. This is independent of my other patch, so I post it here first: Basically all colors are mapped into an interval [min,max] of two colors. By this subformulas can be greyed out easily without touching

Re: Monochrome rendering - extension to GuiPainter

2007-10-07 Thread Andre Poenitz
On Sun, Oct 07, 2007 at 07:23:56PM +0200, Stefan Schimanski wrote: Hi! For my dynamic macros I need an extension to the Painter for monochrome rendering. This is independent of my other patch, so I post it here first: Basically all colors are mapped into an interval [min,max] of two

Re: Monochrome rendering - extension to GuiPainter

2007-10-07 Thread Stefan Schimanski
Am 07.10.2007 um 20:35 schrieb Andre Poenitz: On Sun, Oct 07, 2007 at 07:23:56PM +0200, Stefan Schimanski wrote: Hi! For my dynamic macros I need an extension to the Painter for monochrome rendering. This is independent of my other patch, so I post it here first: Basically all colors are

Monochrome rendering - extension to GuiPainter

2007-10-07 Thread Stefan Schimanski
Hi! For my dynamic macros I need an extension to the Painter for monochrome rendering. This is independent of my other patch, so I post it here first: Basically all colors are mapped into an interval [min,max] of two colors. By this subformulas can be greyed out easily without touching

Re: Monochrome rendering - extension to GuiPainter

2007-10-07 Thread Andre Poenitz
On Sun, Oct 07, 2007 at 07:23:56PM +0200, Stefan Schimanski wrote: > Hi! > > For my dynamic macros I need an extension to the Painter for > monochrome rendering. This is independent of my other patch, so I > post it here first: > > Basically all colors are mapped into an interval [min,max]

Re: Monochrome rendering - extension to GuiPainter

2007-10-07 Thread Stefan Schimanski
Am 07.10.2007 um 20:35 schrieb Andre Poenitz: On Sun, Oct 07, 2007 at 07:23:56PM +0200, Stefan Schimanski wrote: Hi! For my dynamic macros I need an extension to the Painter for monochrome rendering. This is independent of my other patch, so I post it here first: Basically all colors are