Definition at line 222 of file localmatrixshader.cpp.
◆ LocalMatrixOrder()
skiagm::LocalMatrixOrder::LocalMatrixOrder |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize skiagm::LocalMatrixOrder::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString skiagm::LocalMatrixOrder::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onAnimate()
bool skiagm::LocalMatrixOrder::onAnimate |
( |
double |
nanos | ) |
|
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void skiagm::LocalMatrixOrder::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 252 of file localmatrixshader.cpp.
252 {
253
255
256
257
259 center = ictm.mapPoint(center);
260 }
261
263
265 paint.setShader(shader);
267 }
void drawPaint(const SkPaint &paint)
SkMatrix getTotalMatrix() const
SkImageInfo imageInfo() const
static SkMatrix RotateDeg(SkScalar deg)
bool invert(SkMatrix *inverse) const
sk_sp< SkShader > makeWithLocalMatrix(const SkMatrix &) const
sk_sp< SkShader > fShader
static SkRect Make(const SkISize &size)
constexpr SkPoint center() const
◆ onOnceBeforeDraw()
void skiagm::LocalMatrixOrder::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 231 of file localmatrixshader.cpp.
231 {
234
235 auto mshader = mandrill->makeShader(
240 auto eshader = example5->makeShader(
245
247
248
250 }
static SkMatrix Scale(SkScalar sx, SkScalar sy)
SK_API sk_sp< SkShader > Blend(SkBlendMode mode, sk_sp< SkShader > dst, sk_sp< SkShader > src)
◆ fAngle
float skiagm::LocalMatrixOrder::fAngle = 0.f |
|
protected |
◆ fShader
The documentation for this class was generated from the following file: