SkMovie Class Reference
#include <SkMovie.h>
Inherits SkRefCnt.
List of all members.
Detailed Description
Definition at line 25 of file SkMovie.h.
Constructor & Destructor Documentation
SkMovie::SkMovie |
( |
|
) |
[protected] |
Member Function Documentation
static SkMovie* SkMovie::DecodeFile |
( |
const char |
path[] |
) |
[static] |
Try to create a movie from the specified file path. If the file is not found, or the format is not supported, return NULL. If a movie is returned, the stream may be retained by the movie (via ref()) until the movie is finished with it (by calling unref()).
static SkMovie* SkMovie::DecodeMemory |
( |
const void * |
data, |
|
|
size_t |
length | |
|
) |
| | [static] |
Try to create a movie from the specified memory. If the format is not supported, return NULL. If a movie is returned, the data will have been read or copied, and so the caller may free it.
Try to create a movie from the stream. If the stream format is not supported, return NULL.
int SkMovie::isOpaque |
( |
|
) |
|
virtual bool SkMovie::onGetBitmap |
( |
SkBitmap * |
|
) |
[protected, pure virtual] |
virtual bool SkMovie::onGetInfo |
( |
Info * |
|
) |
[protected, pure virtual] |
virtual bool SkMovie::onSetTime |
( |
SkMSec |
|
) |
[protected, pure virtual] |
bool SkMovie::setTime |
( |
SkMSec |
|
) |
|
Specify the time code (between 0...duration) to sample a bitmap from the movie. Returns true if this time code generated a different bitmap/frame from the previous state (i.e. true means you need to redraw).
The documentation for this class was generated from the following file:
- /Volumes/disk/skia/trunk/include/images/SkMovie.h