◆ ImageFilterMatrixWLocalMatrix()
ImageFilterMatrixWLocalMatrix::ImageFilterMatrixWLocalMatrix |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize ImageFilterMatrixWLocalMatrix::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString ImageFilterMatrixWLocalMatrix::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onAnimate()
bool ImageFilterMatrixWLocalMatrix::onAnimate |
( |
double |
nanos | ) |
|
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void ImageFilterMatrixWLocalMatrix::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 194 of file imagefilterstransformed.cpp.
194 {
198
199
200
202 filterMatrix.
setRotate(fDegrees, 64, 64);
203
208
210 p.setImageFilter(filter);
212 }
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
sk_sp< SkImageFilter > makeWithLocalMatrix(const SkMatrix &matrix) const
static sk_sp< SkImageFilter > MatrixTransform(const SkMatrix &matrix, const SkSamplingOptions &sampling, sk_sp< SkImageFilter > input)
SkMatrix & setRotate(SkScalar degrees, SkScalar px, SkScalar py)
SkMatrix & preTranslate(SkScalar dx, SkScalar dy)
SkMatrix & preScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
SkSamplingOptions(SkFilterMode::kLinear))
◆ onOnceBeforeDraw()
void ImageFilterMatrixWLocalMatrix::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: