[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp
From: |
zou lunkai |
Subject: |
Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp |
Date: |
Tue, 8 Jan 2008 16:00:00 +0800 |
> I belive current GNash renders mask-textfield-6.swf exactly
> as shown by the associated .png
That's completely possible, and then probably could pass my test
code, since both of them test the same thing(TextField instance as a
mask). Forget it if you are already satisfied :)
(+ // swfdec/test/image/mask-textfield-6.swf shows that setMask
should also
+ // work against TextFields)
I was just not quite agree with the above docs. setMask() still
works on sprite instead of TextField instance in that test. eg:
text.setMask(sprite).
--zou
On Jan 8, 2008 3:43 PM, Sandro Santilli <address@hidden> wrote:
> On Tue, Jan 08, 2008 at 09:40:23AM +0800, zou lunkai wrote:
> > + // swfdec/test/image/mask-textfield-6.swf shows that setMask should
> > also
> > + // work against TextFields, we have no tests for other
> > character types so
> > + // we generalize it for any character.
> > + boost::intrusive_ptr<character> maskee =
> > ensureType<character>(fn.this_ptr);
> >
> > I checked swfdec/test/image/mask-textfield-6.swf. It tests that
> > TextField instances could be a mask(not maskee). Actually the
> > behaviour when setMask work against TextField instance is odd to me,
> > maybe UdoG knows more about it.
> > But yes, setMask not only works for sprites, but also for button
> > instances as I tested.
>
> I belive current GNash renders mask-textfield-6.swf exactly
> as shown by the associated .png
> --strk;
>
- [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, Sandro Santilli, 2008/01/03
- Re[2]: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, Udo Giacomozzi, 2008/01/08
- Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, Sandro Santilli, 2008/01/08
- Re[2]: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, Udo Giacomozzi, 2008/01/08
- Re: Re[2]: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, zou lunkai, 2008/01/08
- Re[4]: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, Udo Giacomozzi, 2008/01/08
- Re: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, Sandro Santilli, 2008/01/08
[Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, Sandro Santilli, 2008/01/08
[Gnash-commit] gnash ChangeLog server/sprite_instance.cpp, Benjamin Wolsey, 2008/01/10