Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkWuffsFrameHolder Class Referencefinal
Inheritance diagram for SkWuffsFrameHolder:
SkFrameHolder SkNoncopyable

Public Member Functions

 SkWuffsFrameHolder ()
 
void init (SkWuffsCodec *codec, int width, int height)
 
const SkFrameonGetFrame (int i) const override
 
- Public Member Functions inherited from SkFrameHolder
 SkFrameHolder ()
 
virtual ~SkFrameHolder ()
 
int screenWidth () const
 
int screenHeight () const
 
void setAlphaAndRequiredFrame (SkFrame *)
 
const SkFramegetFrame (int i) const
 
- Public Member Functions inherited from SkNoncopyable
 SkNoncopyable ()=default
 
 SkNoncopyable (SkNoncopyable &&)=default
 
SkNoncopyableoperator= (SkNoncopyable &&)=default
 

Additional Inherited Members

virtual const SkFrameonGetFrame (int i) const =0
 
- Protected Attributes inherited from SkFrameHolder
int fScreenWidth
 
int fScreenHeight
 

Detailed Description

Definition at line 222 of file SkWuffsCodec.cpp.

Constructor & Destructor Documentation

◆ SkWuffsFrameHolder()

SkWuffsFrameHolder::SkWuffsFrameHolder ( )
inline

Definition at line 224 of file SkWuffsCodec.cpp.

224: INHERITED() {}

Member Function Documentation

◆ init()

void SkWuffsFrameHolder::init ( SkWuffsCodec codec,
int  width,
int  height 
)

Definition at line 367 of file SkWuffsCodec.cpp.

367 {
368 fCodec = codec;
369 // Initialize SkFrameHolder's (the superclass) fields.
372}
int32_t height
int32_t width

◆ onGetFrame()

const SkFrame * SkWuffsFrameHolder::onGetFrame ( int  i) const
overridevirtual

Implements SkFrameHolder.

Definition at line 374 of file SkWuffsCodec.cpp.

374 {
375 return fCodec->frame(i);
376}
const SkWuffsFrame * frame(int i) const

The documentation for this class was generated from the following file: