Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3C2017732 for ; Tue, 14 Apr 2015 12:18:05 +0000 (UTC) Received: (qmail 68342 invoked by uid 500); 14 Apr 2015 12:18:05 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 68315 invoked by uid 500); 14 Apr 2015 12:18:05 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 68303 invoked by uid 99); 14 Apr 2015 12:18:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2015 12:18:04 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2015 12:17:59 +0000 Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id CF6791ACECE5 for ; Tue, 14 Apr 2015 05:17:49 -0700 (PDT) Date: Tue, 14 Apr 2015 05:04:08 -0700 (PDT) From: chris_d_k To: users@flex.apache.org Message-ID: <1429013048501-10081.post@n4.nabble.com> Subject: Best performance for ItemRenderer with FXG Icon? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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? -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Best-performance-for-ItemRenderer-with-FXG-Icon-tp10081.html Sent from the Apache Flex Users mailing list archive at Nabble.com.