[prev in list] [next in list] [prev in thread] [next in thread] 

List:       swftools-common
Subject:    Re: [Swftools-common] Open-ended "CurveTo" outline, is it possible?
From:       Chris Pugh <nissehud () googlemail ! com>
Date:       2010-03-20 15:52:20
Message-ID: 4beaec561003200852r76eda613lc93008c8f6c0d9a0 () mail ! gmail ! com
[Download RAW message or body]

While the .svg is definitely open, the default behaviour of the
.filled command along with outline, draws the shape, then closes it
off.

The only suggestion I have is a work round, probably one you've
already thought of, and that is to simply wipe out the offending line.
 i.e.,

.flash filename="curve.swf" version=10 bbox=800x600

.outline bezier_curve:
   M 500, 400
   C 200,200 0,0 200,450
.end
.outline line:
    M 500, 400
    L 200, 450
.end
   .filled curve outline=bezier_curve fill=none color=blue
   .put curve
   .filled line outline=line fill=none color=black # or whatever you
stage happens to be
   .put line

.end

HTH.

Regards,


Chris.


On 18 March 2010 13:53, Timofey Tatarinov <tatarinov.timofey@gmail.com> wrote:
> Hi, I am newbie in “swftools”. I am trying to create swf consists ellipse
> section.
>
>
>
> I write code:
>
> .flash filename="ellipse_section.swf" version=10 bbox=400x400
>
>     .outline ellipse_outline:
>
>         M 400, 390
>
>         C 400,0 0,0 0,390
>
>     .end
>
>     .filled ellipse outline=ellipse_outline color=blue
>
>     .put ellipse
>
> .end
>
>
>
> I expect “swftools” create swf with open-ended ellipse section, but it is
> closed.
>
> Can I draw it right?
>
>
>
>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic