[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: koffice/krita/core
From:       Adrian Page <adrian () pagenet ! plus ! com>
Date:       2004-03-08 15:29:07
Message-ID: 200403081509.35110.adrian () pagenet ! plus ! com
[Download RAW message or body]

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.

Adrian
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic