Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5E0D189DF for ; Mon, 30 Nov 2015 10:43:44 +0000 (UTC) Received: (qmail 1031 invoked by uid 500); 30 Nov 2015 10:43:44 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 1000 invoked by uid 500); 30 Nov 2015 10:43:44 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 633 invoked by uid 99); 30 Nov 2015 10:43:43 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2015 10:43:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 56DC11A092F for ; Mon, 30 Nov 2015 10:43:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.464 X-Spam-Level: **** X-Spam-Status: No, score=4.464 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TVQsB4Mj9wFi for ; Mon, 30 Nov 2015 10:43:31 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 6970221053 for ; Mon, 30 Nov 2015 10:43:31 +0000 (UTC) Received: by iouu10 with SMTP id u10so171209855iou.0 for ; Mon, 30 Nov 2015 02:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=3u6vSXmaJlPxQOfKUoR/tnJWhdCGzNT7L8d9XwxdWC0=; b=pw/LquHbAUAmhQaMEN7/CuxeEXabu0V6kOwzz319LqI0EuXbFxIATQFjIrsi5cf4gV dNetzLWAphEWlSCTQexndGdO9OQY2j+G0nuV//kJUZY957ib9y088L0FT1MmWp7wltFC nRkqGkhCv0aZei3CBa53zut8DJS1dkC1l/qSOgLLQZ3yokQQmirqpnKzzg1tn9QuPUDF lHcylr/6h2FLYByAYeXlcyfCRvQPe91Q9FpDnUh2NAeLlr/TWEO/ymuuuiRBeK4PYVZO RjX4qwTmoNSop/hyOrXMba3E0h5dXTiPYHTQuFkF4ZA1f54Yun4Lv8An+Oxj0conP8p1 grAA== X-Received: by 10.107.36.6 with SMTP id k6mr53097513iok.125.1448880204913; Mon, 30 Nov 2015 02:43:24 -0800 (PST) MIME-Version: 1.0 Sender: omuppi1@gmail.com Received: by 10.79.0.95 with HTTP; Mon, 30 Nov 2015 02:42:55 -0800 (PST) In-Reply-To: <1448878340798-50355.post@n4.nabble.com> References: <1448877286359-50350.post@n4.nabble.com> <1448878340798-50355.post@n4.nabble.com> From: OmPrakash Muppirala Date: Mon, 30 Nov 2015 02:42:55 -0800 X-Google-Sender-Auth: 9BL5LcOY7k7Bs3G3qCsZunJOVhY Message-ID: Subject: Re: working on a lib of graphics api flexjs To: "dev@flex.apache.org" Content-Type: multipart/alternative; boundary=001a1140f794efa1d90525bfb5e9 --001a1140f794efa1d90525bfb5e9 Content-Type: text/plain; charset=UTF-8 It would be great if you could follow the same class styles as Line, Path, Circle, etc. as seen in this package: https://github.com/apache/flex-asjs/tree/develop/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics Then, it would be easy for folks to switch between SVG and Canvas by just switching the package. For example: org.flex.apache.flex.core.graphics.Line would draw on SVG and your implementation: org.flex.apache.flex.graphics.canvas.Line would draw on Canvas Any chance you can modify your approach? Thanks, Om On Mon, Nov 30, 2015 at 2:12 AM, lizhi wrote: > yes,it is canvas > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/working-on-a-lib-of-graphics-api-flexjs-tp50350p50355.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > --001a1140f794efa1d90525bfb5e9--