Flutter Engine
The Flutter Engine
|
#include <SkFrameHolder.h>
Public Member Functions | |
SkFrameHolder () | |
virtual | ~SkFrameHolder () |
int | screenWidth () const |
int | screenHeight () const |
void | setAlphaAndRequiredFrame (SkFrame *) |
const SkFrame * | getFrame (int i) const |
Public Member Functions inherited from SkNoncopyable | |
SkNoncopyable ()=default | |
SkNoncopyable (SkNoncopyable &&)=default | |
SkNoncopyable & | operator= (SkNoncopyable &&)=default |
Protected Member Functions | |
virtual const SkFrame * | onGetFrame (int i) const =0 |
Protected Attributes | |
int | fScreenWidth |
int | fScreenHeight |
Base class for an object which holds the SkFrames of an image sequence.
Definition at line 169 of file SkFrameHolder.h.
|
inline |
Definition at line 171 of file SkFrameHolder.h.
|
inlinevirtual |
Definition at line 176 of file SkFrameHolder.h.
Return the frame with frameId i.
Definition at line 195 of file SkFrameHolder.h.
Implemented in SkJpegxlCodecPriv, and SkWuffsFrameHolder.
|
inline |
Definition at line 183 of file SkFrameHolder.h.
|
inline |
Size of the image. Each frame will be contained in these dimensions (possibly after clipping).
Definition at line 182 of file SkFrameHolder.h.
void SkFrameHolder::setAlphaAndRequiredFrame | ( | SkFrame * | frame | ) |
Compute the opacity and required frame, based on the frame's reportedAlpha and how it blends with prior frames.
Definition at line 972 of file SkCodec.cpp.
|
protected |
Definition at line 201 of file SkFrameHolder.h.
|
protected |
Definition at line 200 of file SkFrameHolder.h.