Flutter Engine
The Flutter Engine

#include <SkCanvas.h>
Public Types  
enum  RectType : uint8_t { kDefault = 0 , kTransparent , kFixedColor } 
Public Attributes  
const int *  fXDivs 
xaxis values dividing bitmap  
const int *  fYDivs 
yaxis values dividing bitmap  
const RectType *  fRectTypes 
array of fill types  
int  fXCount 
number of xcoordinates  
int  fYCount 
number of ycoordinates  
const SkIRect *  fBounds 
source bounds to draw from  
const SkColor *  fColors 
array of colors  
SkCanvas::Lattice divides SkBitmap or SkImage into a rectangular grid. Grid entries on even columns and even rows are fixed; these entries are always drawn at their original size if the destination is large enough. If the destination side is too small to hold the fixed entries, all fixed entries are proportionately scaled down to fit. The grid entries not on even columns and rows are scaled to fit the remaining space, if any.
Definition at line 1601 of file SkCanvas.h.
enum SkCanvas::Lattice::RectType : uint8_t 
Enumerator  

kDefault  draws SkBitmap into lattice rectangle 
kTransparent  skips lattice rectangle by making it transparent 
kFixedColor  draws one of fColors into lattice rectangle 
Definition at line 1607 of file SkCanvas.h.
const SkIRect* SkCanvas::Lattice::fBounds 
source bounds to draw from
Definition at line 1618 of file SkCanvas.h.
const SkColor* SkCanvas::Lattice::fColors 
array of colors
Definition at line 1619 of file SkCanvas.h.
const RectType* SkCanvas::Lattice::fRectTypes 
array of fill types
Definition at line 1615 of file SkCanvas.h.
int SkCanvas::Lattice::fXCount 
number of xcoordinates
Definition at line 1616 of file SkCanvas.h.
const int* SkCanvas::Lattice::fXDivs 
xaxis values dividing bitmap
Definition at line 1613 of file SkCanvas.h.
int SkCanvas::Lattice::fYCount 
number of ycoordinates
Definition at line 1617 of file SkCanvas.h.
const int* SkCanvas::Lattice::fYDivs 
yaxis values dividing bitmap
Definition at line 1614 of file SkCanvas.h.