Lines Matching defs:width
33 if (w < fRectanizer->width()) {
34 w = std::min(w + kPadding, fRectanizer->width());
89 fWidth = std::min(SkNextPow2(initialSize.width()), fMaxAtlasSize);
113 int width = r - l;
116 ? (GrRectanizer*)fNodeAllocator.make<GrRectanizerSkyline>(width, height)
117 : fNodeAllocator.make<GrRectanizerPow2>(width, height);
131 bool GrDynamicAtlas::addRect(int width, int height, SkIPoint16* location) {
135 if (!this->internalPlaceRect(width, height, location)) {
139 fDrawBounds.fWidth = std::max(fDrawBounds.width(), location->x() + width);