Home | History | Annotate | Download | only in core

Lines Matching defs:colorType

92  *  Returns the number of bytes-per-pixel for the specified colortype, or 0 if invalid.
97 * Returns true iff the colortype is always considered opaque (i.e. does not store alpha).
102 * Tries to validate the colortype, alphatype pair. In all cases if it returns true, it
106 * If the specified colortype has only 1 valid alphatype (e.g. 565 must always be opaque) then
109 * If the specified colortype treats more than one alphatype the same (e.g. Alpha_8 colortype
111 * then canonical will be set to the "canonical" answer (Premul in the case of Alpha_8 colortype).
113 * If the colortype supports multiple alphatypes, and the specified alphatype is one of them,
115 * one of them (e.g. kUnknown_SkAlphaType is not valid for any colortype except
118 SK_API bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType,
162 * Sets colortype to the native ARGB32 type.
175 * Sets colortype to the native ARGB32 type, and the alphatype to premul.
199 SkColorType colorType() const { return fColorType; }
218 * Return a new ImageInfo with the same colortype and alphatype as this info,