Lines Matching defs:width

34         kUnknown_SkAlphaType, and with a width and height of zero. Use
35 reset() to associate pixels, SkColorType, SkAlphaType, width, and height
44 /** Creates SkPixmap from info width, height, SkAlphaType, and SkColorType.
45 addr points to pixels, or nullptr. rowBytes should be info.width() times
57 @param info width, height, SkAlphaType, SkColorType of SkImageInfo
59 @param rowBytes size of one row of addr; width times pixel size, or larger
66 /** Sets width, height, row bytes to zero; pixel address to nullptr; SkColorType to
76 /** Sets width, height, SkAlphaType, and SkColorType from info.
78 Sets row bytes from rowBytes, which should be info.width() times
87 @param info width, height, SkAlphaType, SkColorType of SkImageInfo
89 @param rowBytes size of one row of addr; width times pixel size, or larger
95 /** Changes SkColorSpace in SkImageInfo; preserves width, height, SkAlphaType, and
109 /** Sets subset width, height, pixel address to intersection of SkPixmap with area,
115 @param subset storage for width, height, pixel address of intersection
121 /** Returns width, height, SkAlphaType, SkColorType, and SkColorSpace.
128 is at least as large as: width() * info().bytesPerPixel().
148 @return pixel width in SkImageInfo
150 int width() const { return fInfo.width(); }
193 /** Returns SkIRect { 0, 0, width(), height() }.
195 @return integral rectangle from origin to width() and height()
197 SkIRect bounds() const { return SkIRect::MakeWH(this->width(), this->height()); }
200 width().
214 Does not include unused memory on last row when rowBytesAsPixels() exceeds width().
216 Returns zero if height() or width() is 0.
255 @param x column index, zero or greater, and less than width()
267 @param x column index, zero or greater, and less than width()
281 @param x column index, zero or greater, and less than width()
365 @param x column index, zero or greater, and less than width()
370 SkASSERT((unsigned)x < (unsigned)fInfo.width());
383 @param x column index, zero or greater, and less than width()
388 SkASSERT((unsigned)x < (unsigned)fInfo.width());
401 @param x column index, zero or greater, and less than width()
406 SkASSERT((unsigned)x < (unsigned)fInfo.width());
419 @param x column index, zero or greater, and less than width()
424 SkASSERT((unsigned)x < (unsigned)fInfo.width());
440 @param x column index, zero or greater, and less than width()
461 @param x column index, zero or greater, and less than width()
475 @param x column index, zero or greater, and less than width()
489 @param x column index, zero or greater, and less than width()
504 @param x column index, zero or greater, and less than width()
518 @param x column index, zero or greater, and less than width()
533 @param x column index, zero or greater, and less than width()
542 exceed SkPixmap (width(), height()).
544 dstInfo specifies width, height, SkColorType, SkAlphaType, and
556 Returns false if SkPixmap width() or height() is zero or negative.
558 @param dstInfo destination width, height, SkColorType, SkAlphaType, SkColorSpace
568 exceed SkPixmap (width(), height()).
570 dstInfo specifies width, height, SkColorType, SkAlphaType, and
583 false if SkPixmap width() or height() is zero or negative. Returns false if:
584 abs(srcX) >= Pixmap width(), or if abs(srcY) >= Pixmap height().
586 @param dstInfo destination width, height, SkColorType, SkAlphaType, SkColorSpace
589 @param srcX column index whose absolute value is less than width()
597 exceed SkPixmap (width(), height()). dst specifies width, height, SkColorType,
610 false SkPixmap width() or height() is zero or negative. Returns false if:
611 abs(srcX) >= Pixmap width(), or if abs(srcY) >= Pixmap height().
614 @param srcX column index whose absolute value is less than width()
622 /** Copies pixels inside bounds() to dst. dst specifies width, height, SkColorType,
634 Returns false if SkPixmap width() or height() is zero or negative.
643 /** Copies SkBitmap to dst, scaling pixels to fit dst.width() and dst.height(), and
655 Returns false if SkBitmap width() or height() is zero or negative.