On Mon, Nov 12, 2007 at 10:44:26AM +0100, Udo Giacomozzi wrote:
> Hello strk,
> 
> Monday, November 12, 2007, 10:37:15 AM, you wrote:
> s> Uh ? Show me ?
> 
> this.lineStyle(20, 0x0000FF);
> this.beginFill(0xFF0000);
> this.moveTo(100,100);
> this.lineTo(200,100);
> this.lineTo(200,200);
> 
> // produces a red rectangle shape with complete blue outline

Wow, I didn't expect that :)
Probably keeping the info all in DynamicShape would fix
the problem then. Basically we'll just want to know if
the last edge in the last path is real or virtual.
If it virtual, we'll change it's control and anchor
point on next lineTo or curveTo, while we'll keep
it anyway on beginFill/closeFill.
Not sure about moveTo (can you check ?)

--strk;


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to