Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 71977 invoked from network); 9 Jan 2004 12:25:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Jan 2004 12:25:18 -0000 Received: (qmail 60071 invoked by uid 500); 9 Jan 2004 12:25:05 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 60032 invoked by uid 500); 9 Jan 2004 12:25:05 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 59959 invoked from network); 9 Jan 2004 12:25:05 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 9 Jan 2004 12:25:05 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AevhJ-0008J7-00 for ; Fri, 09 Jan 2004 13:25:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: forrest-dev@xml.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AevhH-0008Iu-00 for ; Fri, 09 Jan 2004 13:25:03 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AevhH-0000P4-00 for ; Fri, 09 Jan 2004 13:25:03 +0100 From: Nicola Ken Barozzi Subject: Re: Automatic corners AKA why I needed the colors in skinconf Date: Fri, 09 Jan 2004 13:21:35 +0100 Lines: 65 Message-ID: References: <3FFDCAA6.3050609@exclupen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en In-Reply-To: <3FFDCAA6.3050609@exclupen.com> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Marshall Roch wrote: > Nicola Ken Barozzi wrote: > >> >> >> >> > cy="{$smallersize}" >> rx="{$smallersize}" >> ry="{$smallersize}" >> style="{$fill}{$stroke}stroke-width:1"/> >> >> > > > I've never played with SVG before, so tell me if this is possible. It is :-) When I have to do such things, I always use an SVG editor, and then tweak the source file. For example: http://www.sodipodi.com/ (free) http://www.jasc.com/products/webdraw/ (try and buy) Let's see. > The "whs" skin (or whatever we call it) needs 2 different tab images: > > The left side has the rounded corner and a line going vertically down > 70px or so to allow for resizing. The background must be supplied for > the area outside the rounded corner, and the inside must be transparent > to let the tab color show through. I'm not so keen on having the background be set to transparent, as it may give us problems with some browsers. We'll set it to the bg color. > The background has to be set so that > it covers up the line in the right image (read on). > > The right side is a mirror image of the left, with a horizontal line > extending toward the left to make the top border of the tab. > > The need for a background color can be eliminated, but it creates some > "dead space" that is not a link on the right side of the tab underneath > the curve. If that's acceptable, this sounds like a non-issue. No problem, it can be easily done. Do this, take a program that outputs SVG and create the corner image in scale. I usually do it in 200x200 (if square) and work from that (the base corner is the top-left one). Then post the SVG here and we'll do it together, so it can serve as an example for the documentation Cool :-) -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------