// TODO(skbug.com/12784): Requires SkImage to be texture backed, and created SkShader can only // be used on GPU-backed surfaces. static sk_sp<SkShader> MakeSubset(sk_sp<SkImage>, const SkRect& subset,
SkTileMode tmx,
SkTileMode tmy, const SkSamplingOptions&, const SkMatrix* localMatrix, bool clampAsIfUnpremul = false);
// TODO(skbug.com/12784): This is only supported for GPU images currently. // If subset == (0,0,w,h) of the image, then no subset is applied. Subset will not be empty. const SkRect fSubset;
constbool fRaw; constbool fClampAsIfUnpremul;
friendclass SkShaderBase; using INHERITED = SkShaderBase;
};
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.