Lines Matching defs:height
13 bool GrRectanizerSkyline::addRect(int width, int height, SkIPoint16* loc) {
15 (unsigned)height > (unsigned)this->height()) {
22 int bestY = this->height() + 1;
26 if (this->rectangleFits(i, width, height, &y)) {
39 this->addSkylineLevel(bestIndex, bestX, bestY, width, height);
43 fAreaSoFar += width*height;
52 bool GrRectanizerSkyline::rectangleFits(int skylineIndex, int width, int height, int* ypos) const {
63 if (y + height > this->height()) {
75 void GrRectanizerSkyline::addSkylineLevel(int skylineIndex, int x, int y, int width, int height) {
78 newSegment.fY = y + height;
83 SkASSERT(newSegment.fY <= this->height());
121 GrRectanizer* GrRectanizer::Factory(int width, int height) {
122 return new GrRectanizerSkyline(width, height);