Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
SerializationUtils< SkRegion > Struct Reference

Static Public Member Functions

static void Write (SkWriteBuffer &writer, const SkRegion *region)
 
static void Read (SkReadBuffer &reader, SkRegion *region)
 

Detailed Description

Definition at line 117 of file SerializationTest.cpp.

Member Function Documentation

◆ Read()

static void SerializationUtils< SkRegion >::Read ( SkReadBuffer reader,
SkRegion region 
)
inlinestatic

Definition at line 121 of file SerializationTest.cpp.

121 {
122 reader.readRegion(region);
123 }
void readRegion(SkRegion *region)
ClipOpAndAA opAA SkRegion region
Definition: SkRecords.h:238

◆ Write()

static void SerializationUtils< SkRegion >::Write ( SkWriteBuffer writer,
const SkRegion region 
)
inlinestatic

Definition at line 118 of file SerializationTest.cpp.

118 {
119 writer.writeRegion(*region);
120 }
virtual void writeRegion(const SkRegion &region)=0

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