Clamp text shadow offset to limit clipping and/or bleeding of the shadow 02/17702/1
authorJavon Prince <javon.prince@samsung.com>
Thu, 6 Mar 2014 11:05:15 +0000 (11:05 +0000)
committerPaul Wisbey <p.wisbey@samsung.com>
Fri, 7 Mar 2014 14:02:10 +0000 (14:02 +0000)
commit22a6fbaef7bc66ccc054f3ee1895f63e24f230e0
tree21ae36f8bf50ea9782064fe59bee917c8514166b
parenta2be680ac0c60677e8314d9bc606069c16d5d8f1
Clamp text shadow offset to limit clipping and/or bleeding of the shadow

[Issue#] P140304-04522

[Problem] If the shadow offset value is too large artifacts can be seen.

[Cause] Range of values is relative to the font point size.

[Solution] Clamp the shadow offset value internally.

Change-Id: Idb26ac962b08fc302988d1ea101962e637ed1e44
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
dali/internal/event/actor-attachments/text-attachment-impl.cpp