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

List:       koffice-devel
Subject:    Re: Add Gaussian Blur to Shape Shadow
From:       Yue Liu <opuspace () gmail ! com>
Date:       2010-10-31 9:44:51
Message-ID: AANLkTimTG+-7LbK3fabMzkfUuQddFLj_NWKcGwGB0eYF () mail ! gmail ! com
[Download RAW message or body]

Is there a simple method to blur a QPixmap object? I only found
QGraphicsBlurEffect but it only works on QGraphicsItem.

On Sat, Oct 30, 2010 at 3:38 PM, Cyrille Berger Skott
<cberger@cberger.net> wrote:
> On Saturday 30 October 2010, Yue Liu wrote:
>
>> Does that mean OOo uses other method to implement shadow effect? I
>
>> found no way to add blur effect to <draw:shadow>, but the shadow
>
>> without blur looks terrible. Should we give up <draw:shadow> and use
>
>> duplication of shapes to implement nice shadow effect?
>
> Well nothing prevent us to blur the shadow. It is possible to implement that
> in the KoShapeShadow paint function, by simply painting the shape outline in
> a temporary pixmap, blur the pixmap and then draw the pixmap.
>
> Even if OOo does not :) Nothing say that we have to have as ugly rendering
> than other office suite (actually if we can do better rendering, we will get
> extra points).
>
> --
>
> Cyrille Berger Skott
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel
>
>
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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