Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkBigPicture::SnapshotArray Class Reference

#include <SkBigPicture.h>

Inheritance diagram for SkBigPicture::SnapshotArray:
SkNoncopyable

Public Member Functions

 SnapshotArray (const SkPicture *pics[], int count)
 
 ~SnapshotArray ()
 
const SkPicture *const * begin () const
 
int count () const
 

Detailed Description

Definition at line 30 of file SkBigPicture.h.

Constructor & Destructor Documentation

◆ SnapshotArray()

SkBigPicture::SnapshotArray::SnapshotArray ( const SkPicture pics[],
int  count 
)
inline

Definition at line 32 of file SkBigPicture.h.

32: fPics(pics), fCount(count) {}

◆ ~SnapshotArray()

SkBigPicture::SnapshotArray::~SnapshotArray ( )
inline

Definition at line 33 of file SkBigPicture.h.

33{ for (int i = 0; i < fCount; i++) { fPics[i]->unref(); } }

Member Function Documentation

◆ begin()

const SkPicture *const * SkBigPicture::SnapshotArray::begin ( ) const
inline

Definition at line 35 of file SkBigPicture.h.

35{ return fPics; }

◆ count()

int SkBigPicture::SnapshotArray::count ( ) const
inline

Definition at line 36 of file SkBigPicture.h.

36{ return fCount; }

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