Flutter Engine
The Flutter Engine
|
#include <GrPathUtils.h>
Public Member Functions | |
QuadUVMatrix () | |
QuadUVMatrix (const SkPoint controlPts[3]) | |
void | set (const SkPoint controlPts[3]) |
void | apply (void *vertices, int vertexCount, size_t stride, size_t uvOffset) const |
Definition at line 72 of file GrPathUtils.h.
|
inline |
Definition at line 74 of file GrPathUtils.h.
|
inline |
Definition at line 76 of file GrPathUtils.h.
|
inline |
Applies the matrix to vertex positions to compute UV coords.
vertices is a pointer to the first vertex. vertexCount is the number of vertices. stride is the size of each vertex. uvOffset is the offset of the UV values within each vertex.
Definition at line 87 of file GrPathUtils.h.
void GrPathUtils::QuadUVMatrix::set | ( | const SkPoint | controlPts[3] | ) |
Definition at line 138 of file GrPathUtils.cpp.