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

Static Public Member Functions

static void Write (SkWriteBuffer &writer, const SkMatrix *matrix)
 
static void Read (SkReadBuffer &reader, SkMatrix *matrix)
 

Detailed Description

Definition at line 99 of file SerializationTest.cpp.

Member Function Documentation

◆ Read()

static void SerializationUtils< SkMatrix >::Read ( SkReadBuffer reader,
SkMatrix matrix 
)
inlinestatic

Definition at line 103 of file SerializationTest.cpp.

103 {
104 reader.readMatrix(matrix);
105 }
void readMatrix(SkMatrix *matrix)
unsigned useCenter Optional< SkMatrix > matrix
Definition: SkRecords.h:258

◆ Write()

static void SerializationUtils< SkMatrix >::Write ( SkWriteBuffer writer,
const SkMatrix matrix 
)
inlinestatic

Definition at line 100 of file SerializationTest.cpp.

100 {
101 writer.writeMatrix(*matrix);
102 }
virtual void writeMatrix(const SkMatrix &matrix)=0

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