Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkPictInfo Struct Reference

#include <SkPictureData.h>

Public Member Functions

 SkPictInfo ()
 
uint32_t getVersion () const
 
void setVersion (uint32_t version)
 

Public Attributes

char fMagic [8]
 
SkRect fCullRect
 

Detailed Description

Definition at line 40 of file SkPictureData.h.

Constructor & Destructor Documentation

◆ SkPictInfo()

SkPictInfo::SkPictInfo ( )
inline

Definition at line 41 of file SkPictureData.h.

41: fVersion(~0U) {}

Member Function Documentation

◆ getVersion()

uint32_t SkPictInfo::getVersion ( ) const
inline

Definition at line 43 of file SkPictureData.h.

43 {
44 SkASSERT(fVersion != ~0U);
45 return fVersion;
46 }
#define SkASSERT(cond)
Definition: SkAssert.h:116

◆ setVersion()

void SkPictInfo::setVersion ( uint32_t  version)
inline

Definition at line 48 of file SkPictureData.h.

48 {
49 SkASSERT(version != ~0U);
50 fVersion = version;
51 }

Member Data Documentation

◆ fCullRect

SkRect SkPictInfo::fCullRect

Definition at line 58 of file SkPictureData.h.

◆ fMagic

char SkPictInfo::fMagic[8]

Definition at line 54 of file SkPictureData.h.


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