koffice/krita/core

Patrick Julien freak at codepimps.org
Mon Mar 8 16:33:24 CET 2004


On March 8, 2004 10:29 am, Adrian Page wrote:
> On Monday 08 March 2004 10:51 am, Patrick Julien wrote:
> > > qRgba(255 - m_data[k++], 255 - m_data[k++], 255 - m_data[k++],
> > >   255 - m_data[k++])
> >
> > Here, using MAX_OPACITY and downscale are required to retain the code's
> > compile time independence on the channel depth.
>
> This code is creating a QImage from a Gimp brush file so in this case it's
> not dependent on the channel depth.

ok


More information about the kimageshop mailing list