7#ifndef SkPDFGradientShader_DEFINED
8#define SkPDFGradientShader_DEFINED
bool SkPackedArrayEqual(T *u, T *v, size_t n)
bool operator==(const SkShaderBase::GradientInfo &u, const SkShaderBase::GradientInfo &v)
bool operator!=(const Key &u, const Key &v)
SkPDFIndirectReference Make(SkPDFDocument *doc, SkShader *shader, const SkMatrix &matrix, const SkIRect &surfaceBBox)
unsigned useCenter Optional< SkMatrix > matrix
uint32_t operator()(const Key &k) const
SkShaderBase::GradientType fType
std::unique_ptr< SkScalar[]> fStops
SkMatrix fShaderTransform
std::unique_ptr< SkColor[]> fColors
SkShaderBase::GradientInfo fInfo
SkMatrix fCanvasTransform
uint32_t fGradientFlags
see SkGradientShader::Flags
SkPoint fPoint[2]
Type specific, see above.
SkColor * fColors
The colors in the gradient.
int fColorCount
In-out parameter, specifies passed size.
SkScalar fRadius[2]
Type specific, see above.
SkScalar * fColorOffsets
The unit offset for color transitions.