On Thu, Oct 30, 2008 at 1:41 AM, tanveerakl <[EMAIL PROTECTED]> wrote:

> I have coded tBlurText overriding "Paint" as below:
>
> Still I can see the blurred image clipped...
>
> Any help tweaking the code so that the blur image is completely within
> the text's bounds.

You may find the implementation described in

http://code.google.com/p/piccolo2d/issues/detail?id=64

useful as a basis for what you are trying to do in the Piccolo2D.net
version.  The example in the attached tarball demonstrates applying a
blurred shadow to a text node.

A problem is that the bounds of the blurred image/node need to be
expanded to allow for the blur radius and then offset back so it
aligns correctly with the original image/text/node.

   michael

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to