13 if ((
unsigned)
width > (
unsigned)this->
width() ||
14 (
unsigned)height > (
unsigned)this->
height()) {
21 if (
height < kMIN_HEIGHT_POW2) {
25 Row* row = &fRows[HeightToRowIndex(
height)];
28 if (0 == row->fRowHeight) {
29 if (!this->canAddStrip(
height)) {
32 this->initRow(row,
height);
34 if (!row->canAddWidth(
width, this->width())) {
35 if (!this->canAddStrip(
height)) {
40 this->initRow(row,
height);
49 SkASSERT(row->fLoc.fX <= this->width());
50 SkASSERT(row->fLoc.fY <= this->height());
static uint32_t GrNextPow2(uint32_t n)
bool addRect(int w, int h, SkIPoint16 *loc) final
int16_t fX
x-axis value used by SkIPoint16