From kde-core-devel Sat Feb 21 19:24:36 2009 From: Michael Pyne Date: Sat, 21 Feb 2009 19:24:36 +0000 To: kde-core-devel Subject: Re: Fwd: ksplash blurry icon clipping fix Message-Id: <200902211424.36516.mpyne () purinchu ! net> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=123524433921691 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1410590.RAQPX15j1z" --nextPart1410590.RAQPX15j1z Content-Type: multipart/alternative; boundary="Boundary-01=_0TFoJ+wGnQga6yQ" Content-Transfer-Encoding: 7bit --Boundary-01=_0TFoJ+wGnQga6yQ Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Saturday 21 February 2009, Matt Rogers wrote: > On Saturday 21 February 2009 10:22:47 Allen Winter wrote: > > ---------- Forwarded Message ---------- > > > > Subject: ksplash blurry icon clipping fix > > Date: Saturday 21 February 2009 > > From: Roman Shtylman > > To: kde-devel@kde.org > > > > This is a fix for the icon clipping that happens when a user logs into > > their computer and is presented with the splash screen and icons > > fading in. > > > > Currently, they get clipped because of the way drawing was done in the > > past, this changed the drawing a bit to fix the clipping. > > > > ~Roman > > > > ------------------------------------------------------- > > Can qimageblitz be used here and if it can, doesn't it have a blend > operation that can be used instead of a custom blend function? > -- > Matt QImageBlitz seems to me to just operate on single images and not compositio= n=20 so the blur itself could perhaps be done by QImageBlitz but the blend would= =20 still be separate. However the blend itself is just a simple Porter-Duff operation as provided= in=20 QPainter and X Render (looks like the SourceOver operation offhand but I'd= =20 have to look it up) so maybe we could use one of those instead? Regards, - Michael Pyne --Boundary-01=_0TFoJ+wGnQga6yQ Content-Type: text/html; charset="iso-8859-15" Content-Transfer-Encoding: 7bit On Saturday 21 February 2009, Matt Rogers wrote:
> On Saturday 21 February 2009 10:22:47 Allen Winter wrote:
> > ---------- Forwarded Message ----------
> >
> > Subject: ksplash blurry icon clipping fix
> > Date: Saturday 21 February 2009
> > From: Roman Shtylman <shtylman@gmail.com>
> > To: kde-devel@kde.org
> >
> > This is a fix for the icon clipping that happens when a user logs into
> > their computer and is presented with the splash screen and icons
> > fading in.
> >
> > Currently, they get clipped because of the way drawing was done in the
> > past, this changed the drawing a bit to fix the clipping.
> >
> > ~Roman
> >
> > -------------------------------------------------------
>
> Can qimageblitz be used here and if it can, doesn't it have a blend
> operation that can be used instead of a custom blend function?
> --
> Matt


QImageBlitz seems to me to just operate on single images and not composition so the blur itself could perhaps be done by QImageBlitz but the blend would still be separate.


However the blend itself is just a simple Porter-Duff operation as provided in QPainter and X Render (looks like the SourceOver operation offhand but I'd have to look it up) so maybe we could use one of those instead?


Regards,
- Michael Pyne

--Boundary-01=_0TFoJ+wGnQga6yQ-- --nextPart1410590.RAQPX15j1z Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkmgVPQACgkQqjQYp5Omm0pkhQCgpt2kLdotcj4xMAx3x65CqEPy uCYAn3o4AS3pNcGCh3ZGuX46X5W1O2dW =nC3W -----END PGP SIGNATURE----- --nextPart1410590.RAQPX15j1z--