On 4/14/15, 5:04 AM, "chris_d_k" <[email protected]> wrote:

>Hi,
>
> I have an itemRenderer with an fxg-Files as icon depending on the data. I
>would prefer not to use special fxg-files for all densities - as it is a
>vector. 
>When I add the fxg-Class in the iconFunction I get an ugly scaled icon
>looks
>like a not smoothly scaled bitmap.
>I think setting "smooth = true" on the iconDisplay would fix the problem
>but
>would be bad for the performance.
>
>What is the best way to get the icon smooth (image quality and
>performance).
>Should I use a LabelItemRenderer and add and scale the fxg manually
>instead?
>

I agree that you would want to first make sure the FXG is scaling
properly.  IconItemRenderer might be caching a bitmap of the FXG.

-Alex

Reply via email to