Review Request: Fix PaintUtils::shadowText() placement
Aaron Seigo
aseigo at kde.org
Fri Oct 1 19:18:30 CEST 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5504/#review7927
-----------------------------------------------------------
Ship it!
- Aaron
On 2010-10-01 02:00:06, Christoph Feck wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/5504/
> -----------------------------------------------------------
>
> (Updated 2010-10-01 02:00:06)
>
>
> Review request for Plasma.
>
>
> Summary
> -------
>
> I used Plasma::PaintUtils::shadowText() to draw a text halo (offset 0,0) around a text.
> Unfortunately, that halo got cropped (see the "g").
>
> This patch should
> * fix placement of shadow and text inside the resulting pixmap
> * fix "addSize" not enlarged for negative offsets
> * simplify computation
>
>
> Diffs
> -----
>
> /trunk/KDE/kdelibs/plasma/paintutils.cpp 1181424
>
> Diff: http://svn.reviewboard.kde.org/r/5504/diff
>
>
> Testing
> -------
>
>
> Screenshots
> -----------
>
> before
> http://svn.reviewboard.kde.org/r/5504/s/517/
> after
> http://svn.reviewboard.kde.org/r/5504/s/519/
>
>
> Thanks,
>
> Christoph
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20101001/b9d565ec/attachment.htm
More information about the Plasma-devel
mailing list