Home | History | Annotate | Download | only in src

Lines Matching refs:row

45     struct Row {
54 Row fRows[16];
68 void initRow(Row* row, int rowHeight) {
69 row->fLoc.set(0, fNextStripY);
70 row->fRowHeight = rowHeight;
84 We use bsearch, but there may be more than one row with the same height,
93 Row* row = &fRows[HeightToRowIndex(height)];
94 GrAssert(row->fRowHeight == 0 || row->fRowHeight == height);
96 if (0 == row->fRowHeight) {
100 this->initRow(row, height);
102 if (!row->canAddWidth(width, this->width())) {
106 // that row is now "full", so retarget our Row record for
108 this->initRow(row, height);
112 GrAssert(row->fRowHeight == height);
113 GrAssert(row->canAddWidth(width, this->width()));
114 *loc = row->fLoc;
115 row->fLoc.fX += width;
117 GrAssert(row->fLoc.fX <= this->width());
118 GrAssert(row->fLoc.fY <= this->height());