Home | History | Annotate | Download | only in core

Lines Matching refs:colorType

40     and height, and a format (colortype), and a pointer to the actual pixels.
53 * Its colortype is set to kUnknown_SkColorType.
83 SkColorType colorType() const { return fInfo.colorType(); }
87 * Return the number of bytes per pixel based on the colortype. If the colortype is
94 * If the colortype is kUnknown_SkColorType, then 0 is returned.
129 * colortype, and the current alphaType is unchanged.
246 * the pixel size specified by info.colorType()) then false is returned
346 be allocated. Only used if colortype == kIndex_8_SkColorType
370 be allocated. Only used if colortype == kIndex_8_SkColorType.
371 If it is non-null and the colortype is not indexed, it will
442 it has non-null pixels, and if required by its colortype, it has a
447 (this->colorType() != kIndex_8_SkColorType || fColorTable);
454 /** Return the bitmap's colortable, if it uses one (i.e. colorType is
476 * If the bitmap's colortype does not support alpha (e.g. 565) then the alpha
477 * of the color is ignored (treated as opaque). If the colortype only supports
487 * If the bitmap's colortype does not support alpha (e.g. 565) then the alpha
488 * of the color is ignored (treated as opaque). If the colortype only supports
500 * If the bitmap's colortype does not support alpha (e.g. 565) then the alpha
501 * of the color is ignored (treated as opaque). If the colortype only supports
520 @return true if the scroll was doable. Will return false if the colortype is kUnkown or
550 * and that the colortype is 32-bit, however none of these checks are performed
557 * and that the colortype is 16-bit, however none of these checks are performed
564 * and that the colortype is 8-bit, however none of these checks are performed
572 * that the colortype is indexed, and that the colortable is allocated,
578 pixel memory, and just point into a subset of it. However, if the colortype
581 dimensions is empty, or if there is an unsupported colortype, false will be
590 /** Makes a deep copy of this bitmap, respecting the requested colorType,
594 * alpha, and the requested colortype does not support alpha).
596 * @param ct The desired colorType for dst
605 return this->copyTo(dst, this->colorType(), allocator);
619 * corresponding src pixels, performing any colortype/alphatype transformations needed
624 * - If the requested colortype/alphatype cannot be converted from the src's types.
632 * colorType, such that copyTo() could succeed.
634 bool canCopyTo(SkColorType colorType) const;
690 colortype. Return true on success, where success means either setPixels
692 returns. If the colortype requires a colortable, it also must be
877 SkASSERT(kIndex_8_SkColorType == this->colorType());