class SkColorSpace; class SkReadBuffer; class SkWriteBuffer; enum SkColorType : int;
class SkPaintPriv {
public: enum ShaderOverrideOpacity {
kNone_ShaderOverrideOpacity, //!< there is no overriding shader (bitmap or image)
kOpaque_ShaderOverrideOpacity, //!< the overriding shader is opaque
kNotOpaque_ShaderOverrideOpacity, //!< the overriding shader may not be opaque
};
/** Populates SkPaint, typically from a serialized stream, created by calling flatten()atanearliertime.
*/ static SkPaint Unflatten(SkReadBuffer& buffer);
// If this paint has any color filter, fold it into the shader and/or paint color // so that it draws the same but getColorFilter() returns nullptr. // // Since we may be filtering now, we need to know what color space to filter in, // typically the color space of the device we're drawing into. staticvoid RemoveColorFilter(SkPaint*, SkColorSpace* dstCS);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.