Lines Matching refs:lattice
974 void DrawCommand::MakeJsonLattice(SkJSONWriter& writer, const SkCanvas::Lattice& lattice) { in MakeJsonLattice() argument
976 writer.appendS32(DEBUGCANVAS_ATTRIBUTE_LATTICEXCOUNT, lattice.fXCount); in MakeJsonLattice()
977 writer.appendS32(DEBUGCANVAS_ATTRIBUTE_LATTICEYCOUNT, lattice.fYCount); in MakeJsonLattice()
978 if (nullptr != lattice.fBounds) { in MakeJsonLattice()
980 MakeJsonIRect(writer, *lattice.fBounds); in MakeJsonLattice()
983 for (int i = 0; i < lattice.fXCount; i++) { in MakeJsonLattice()
984 writer.appendS32(lattice.fXDivs[i]); in MakeJsonLattice()
988 for (int i = 0; i < lattice.fYCount; i++) { in MakeJsonLattice()
989 writer.appendS32(lattice.fYDivs[i]); in MakeJsonLattice()
992 if (nullptr != lattice.fRectTypes) { in MakeJsonLattice()
995 for (int row = 0; row < lattice.fYCount + 1; row++) { in MakeJsonLattice()
997 for (int column = 0; column < lattice.fXCount + 1; column++) { in MakeJsonLattice()
998 writer.appendS32(lattice.fRectTypes[flagCount++]); in MakeJsonLattice()
1165 const SkCanvas::Lattice& lattice, in DrawBitmapLatticeCommand() argument
1170 , fLattice(lattice) in DrawBitmapLatticeCommand()
1348 const SkCanvas::Lattice& lattice, in DrawImageLatticeCommand() argument
1353 , fLattice(lattice) in DrawImageLatticeCommand()