Lines Matching defs:height
10 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) {
12 (unsigned)height > (unsigned)this->height()) {
16 int32_t area = width * height; // computed here since height will be modified
18 height = GrNextPow2(height);
19 if (height < kMIN_HEIGHT_POW2) {
20 height = kMIN_HEIGHT_POW2;
23 Row* row = &fRows[HeightToRowIndex(height)];
24 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height);
27 if (!this->canAddStrip(height)) {
30 this->initRow(row, height);
33 if (!this->canAddStrip(height)) {
38 this->initRow(row, height);
42 SkASSERT(row->fRowHeight == height);
48 SkASSERT(row->fLoc.fY <= this->height());
49 SkASSERT(fNextStripY <= this->height());
57 //GrRectanizer* GrRectanizer::Factory(int width, int height) {
58 // return new GrRectanizerPow2 (width, height);