git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-13 19:20:47 +00:00
parent b81e450659
commit d8359d3ca0

View File

@@ -30,15 +30,15 @@ class WXDLLIMPEXP_FWD_CORE wxImage;
wxAnimationDecoders always load an input stream using some optimized format wxAnimationDecoders always load an input stream using some optimized format
to store it which is format-depedent. This allows to store a (possibly big) to store it which is format-depedent. This allows to store a (possibly big)
animation using a format which is a good compromise between required memory animation using a format which is a good compromise between required memory
and time required to blit in on the screen. and time required to blit it on the screen.
2) wxAnimationDecoders contain the animation data in some internal var. 2) wxAnimationDecoders contain the animation data in some internal variable.
That's why they derive from wxObjectRefData: they are data which can be shared. That's why they derive from wxObjectRefData: they are data which can be shared.
3) wxAnimationDecoders can be used by a wxImageHandler to retrieve a frame 3) wxAnimationDecoders can be used by a wxImageHandler to retrieve a frame
in wxImage format; the viceversa cannot be done. in wxImage format; the viceversa cannot be done.
4) wxAnimationDecoders are decoders only, thus do not support save features. 4) wxAnimationDecoders are decoders only, thus they do not support save features.
5) wxAnimationDecoders are directly used by wxAnimation (generic implementation) 5) wxAnimationDecoders are directly used by wxAnimation (generic implementation)
as wxObjectRefData while they need to be 'wrapped' by a wxImageHandler for as wxObjectRefData while they need to be 'wrapped' by a wxImageHandler for