Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkCanvas::Lattice Struct Reference

Specifies coordinates to divide a bitmap into (xCount*yCount) rects. More...

#include <SkCanvas.h>

Public Types

enum  Flags : uint8_t { kTransparent_Flags = 1 << 0 }
 

Public Attributes

const int * fXDivs
 
const int * fYDivs
 
const Flags * fFlags
 
int fXCount
 
int fYCount
 
const SkIRectfBounds
 

Detailed Description

Specifies coordinates to divide a bitmap into (xCount*yCount) rects.

If the lattice divs or bounds are invalid, the entire lattice struct will be ignored on the draw call.


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