5#include "flutter/testing/assertions_skia.h"
12 os <<
"ClipOpDifference";
15 os <<
"ClipOpIntersect";
18 os <<
"ClipOpUnknown" <<
static_cast<int>(o);
40 os << m.rc(0, 0) <<
", " << m.rc(0, 1) <<
", " << m.rc(0, 2) <<
", "
41 << m.rc(0, 3) << std::endl;
42 os << m.rc(1, 0) <<
", " << m.rc(1, 1) <<
", " << m.rc(1, 2) <<
", "
43 << m.rc(1, 3) << std::endl;
44 os << m.rc(2, 0) <<
", " << m.rc(2, 1) <<
", " << m.rc(2, 2) <<
", "
45 << m.rc(2, 3) << std::endl;
46 os << m.rc(3, 0) <<
", " << m.rc(3, 1) <<
", " << m.rc(3, 2) <<
", "
52 return os << v.
x() <<
", " << v.
y() <<
", " << v.
z();
56 return os <<
"LTRB: " << r.
fLeft <<
", " << r.
fTop <<
", " << r.
fRight <<
", "
61 return os <<
"LTRB: " << r.
fLeft <<
", " << r.
fTop <<
", " << r.
fRight <<
", "
71 return os <<
"Valid: " << r.
isValid()
72 <<
", FillType: " <<
static_cast<int>(r.
getFillType())
77 return os <<
"XY: " << r.
fX <<
", " << r.
fY;
81 return os << size.width() <<
", " << size.height();
85 return os << r.fR <<
", " << r.fG <<
", " << r.fB <<
", " << r.fA;
95 return os <<
"CubicResampler: " <<
s.cubic.B <<
", " <<
s.cubic.C;
97 return os <<
"Filter: " <<
static_cast<int>(
s.filter)
98 <<
", Mipmap: " <<
static_cast<int>(
s.mipmap);
static constexpr int kMScaleX
horizontal scale factor
static constexpr int kMTransY
vertical translation
static constexpr int kMPersp1
input y perspective factor
static constexpr int kMPersp0
input x perspective factor
static constexpr int kMPersp2
perspective bias
static constexpr int kMTransX
horizontal translation
static constexpr int kMSkewY
vertical skew factor
static constexpr int kMScaleY
vertical scale factor
static constexpr int kMSkewX
horizontal skew factor
SkColor4f getColor4f() const
SkShader * getShader() const
SkPathFillType getFillType() const
const SkRect & getBounds() const
const SkRect & rect() const
std::ostream & operator<<(std::ostream &out, const impeller::Color &c)
int32_t fBottom
larger y-axis bounds
int32_t fTop
smaller y-axis bounds
int32_t fLeft
smaller x-axis bounds
int32_t fRight
larger x-axis bounds
SkScalar fBottom
larger y-axis bounds
SkScalar fLeft
smaller x-axis bounds
SkScalar fRight
larger x-axis bounds
SkScalar fTop
smaller y-axis bounds