Re: Add Gaussian Blur to Shape Shadow

Yue Liu <[email protected]>
Newsgroups gmane.comp.kde.devel.koffice
Message-ID <[email protected]>
Now I'll only consider the displaying things. But I'm quite confused
to some QImage, QPainter, and coordination problems.

Here is my modified code to KoShapeShadow.cpp
http://pastebin.com/2ifFjXrB

I'm wondering how to create the QImage object correctly(What should be
the right size to the image?) and the code seems to have some
coordination problems. It would be appreciate if someone can help me
out :-)

By the way, the fastBlurAlpha is the function copied from
BlurEffect.cpp in Karbon.

On Sun, Oct 31, 2010 at 6:42 PM, Thomas Zander <[email protected]> wrote:
> On Sunday 31. October 2010 11.06.03 Sven Langkamp wrote:
>> Saving the blur to ODF is tricky as ODF doesn't support blur for shapes by
>> default. In the past we did add custom attributes, but newer ODF version
>> don't allow that anymore. So it needs to be added in the metadata for
>> example.
>
> I think the idea for blur was purely for displaying purposes (make it pretty!)
> and not to make it configurable or saved to ODF.
>
> --
> Thomas Zander
> _______________________________________________
> koffice-devel mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/koffice-devel
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.