#include <SkImageFilterTypes.h>
Definition at line 490 of file SkImageFilterTypes.h.
◆ LayerSpace() [1/3]
◆ LayerSpace() [2/3]
◆ LayerSpace() [3/3]
◆ get()
◆ inverseMapRect() [1/2]
Definition at line 478 of file SkImageFilterTypes.cpp.
479 {
480 if (
rect.isEmpty()) {
481
482 *
out = LayerSpace<SkIRect>::Empty();
483 return true;
485
487 return false;
488 }
493
498 *
out = LayerSpace<SkIRect>(mapped);
499 return true;
500 } else {
503 *
out = LayerSpace<SkRect>(mapped).roundOut();
504 return true;
505 }
506 }
507
508 return false;
509}
static constexpr int sk_double_saturate2int(double x)
static bool InverseMapRect(const SkMatrix &mx, SkRect *dst, const SkRect &src)
SkScalar getTranslateY() const
SkScalar getScaleX() const
SkScalar getScaleY() const
bool isScaleTranslate() const
SkScalar getTranslateX() const
sk_sp< SkBlender > blender SkRect rect
static SkRect Make(const SkISize &size)
◆ inverseMapRect() [2/2]
Definition at line 463 of file SkImageFilterTypes.cpp.
464 {
466 if (r.isEmpty()) {
467
468 *
out = LayerSpace<SkRect>::Empty();
469 return true;
471 *
out = LayerSpace<SkRect>(mapped);
472 return true;
473 } else {
474 return false;
475 }
476}
◆ invert()
◆ mapPoint()
◆ mapRect() [1/2]
◆ mapRect() [2/2]
◆ mapSize()
◆ mapVector()
Definition at line 455 of file SkImageFilterTypes.cpp.
455 {
456 return LayerSpace<Vector>(Mapping::map(Vector(v), fData));
457}
◆ operator const SkMatrix &()
◆ postConcat()
Definition at line 520 of file SkImageFilterTypes.h.
520 {
522 return *this;
523 }
static SkMatrix Concat(const SkMatrix &a, const SkMatrix &b)
◆ preConcat()
◆ rc()
◆ RectToRect()
Definition at line 497 of file SkImageFilterTypes.h.
498 {
500 }
static SkMatrix RectToRect(const SkRect &src, const SkRect &dst, ScaleToFit mode=kFill_ScaleToFit)
The documentation for this class was generated from the following files: