| Flutter Impeller |

Classes | Functions
std Namespace Reference

## Classes
struct | equal_to< impeller::Glyph >
struct | equal_to< impeller::ScaledFont >
struct | hash< impeller::DepthAttachmentDescriptor >
struct | hash< impeller::Font::Metrics >
struct | hash< impeller::Glyph >
struct | hash< impeller::ScaledFont >
struct | hash< impeller::StencilAttachmentDescriptor >
struct | hash< impeller::UniqueID >
struct | less< impeller::Glyph >
struct | less< impeller::UniqueID >

## Functions
std::ostream & | operator<< (std::ostream &out, const impeller::Color &c)
std::ostream & | operator<< (std::ostream &out, const impeller::Half &p)
std::ostream & | operator<< (std::ostream &out, const impeller::HalfVector2 &p)
std::ostream & | operator<< (std::ostream &out, const impeller::HalfVector3 &p)
std::ostream & | operator<< (std::ostream &out, const impeller::HalfVector4 &p)
std::ostream & | operator<< (std::ostream &out, const impeller::Matrix &m)
template<class T >
std::ostream & | operator<< (std::ostream &out, const impeller::TPoint< T > &p)
std::ostream & | operator<< (std::ostream &out, const impeller::Quaternion &q)
template<class T >
std::ostream & | operator<< (std::ostream &out, const impeller::TRect< T > &r)
template<class T >
std::ostream & | operator<< (std::ostream &out, const impeller::TSize< T > &s)
std::ostream & | operator<< (std::ostream &out, const impeller::Vector3 &p)
std::ostream & | operator<< (std::ostream &out, const impeller::Vector4 &p)
std::ostream & | operator<< (std::ostream &out, const impeller::HandleGLES &handle)

## Function Documentation

## ◆ operator<<() [1/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::Color & | c
| ) |  |
| inline

Definition at line 951 of file color.h.

951 {
952 out << "(" << c.red << ", " << c.green << ", " << c.blue << ", " << c.alpha
953 << ")";
954 return out;
955 }

References impeller::Color::alpha, impeller::Color::blue, impeller::Color::green, and impeller::Color::red.

## ◆ operator<<() [2/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::Half & | p
| ) |  |
| inline

Definition at line 162 of file half.h.

162 {
163 out << "(" << static_cast<impeller::Scalar>(p.x) << ")";
164 return out;
165 }

References impeller::Half::x.

## ◆ operator<<() [3/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::HalfVector2 & | p
| ) |  |
| inline

Definition at line 167 of file half.h.

168 {
169 out << "(" << static_cast<impeller::Scalar>(p.x) << ", "
170 << static_cast<impeller::Scalar>(p.y) << ")";
171 return out;
172 }

References impeller::HalfVector2::x, and impeller::HalfVector2::y.

## ◆ operator<<() [4/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::HalfVector3 & | p
| ) |  |
| inline

Definition at line 174 of file half.h.

175 {
176 out << "(" << static_cast<impeller::Scalar>(p.x) << ", "
177 << static_cast<impeller::Scalar>(p.y) << ", "
178 << static_cast<impeller::Scalar>(p.z) << ")";
179 return out;
180 }

References impeller::HalfVector3::x, impeller::HalfVector3::y, and impeller::HalfVector3::z.

## ◆ operator<<() [5/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::HalfVector4 & | p
| ) |  |
| inline

Definition at line 182 of file half.h.

183 {
184 out << "(" << static_cast<impeller::Scalar>(p.x) << ", "
185 << static_cast<impeller::Scalar>(p.y) << ", "
186 << static_cast<impeller::Scalar>(p.z) << ", "
187 << static_cast<impeller::Scalar>(p.w) << ")";
188 return out;
189 }

References impeller::HalfVector4::w, impeller::HalfVector4::x, impeller::HalfVector4::y, and impeller::HalfVector4::z.

## ◆ operator<<() [6/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::HandleGLES & | handle
| ) |  |
| inline

Definition at line 76 of file handle_gles.h.

77 {
78 out << HandleTypeToString(handle.type) << "(";
79 if (handle.IsDead()) {
80 out << "DEAD";
81 } else {
82 if (handle.name.has_value()) {
83 out << handle.name.value().id;
84 } else {
85 out << "UNNAMED";
86 }
87 }
88 out << ")";
89 return out;
90 }

References impeller::HandleTypeToString(), impeller::HandleGLES::IsDead(), impeller::HandleGLES::name, and impeller::HandleGLES::type.

## ◆ operator<<() [7/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::Matrix & | m
| ) |  |
| inline

Definition at line 518 of file matrix.h.

518 {
519 out << "(" << std::endl << std::fixed;
520 for (size_t i = 0; i < 4u; i++) {
521 for (size_t j = 0; j < 4u; j++) {
522 out << std::setw(15) << m.e[j][i] << ",";
523 }
524 out << std::endl;
525 }
526 out << ")";
527 return out;
528 }

References impeller::Matrix::e.

## ◆ operator<<() [8/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::Quaternion & | q
| ) |  |
| inline

Definition at line 94 of file quaternion.h.

95 {
96 out << "(" << q.x << ", " << q.y << ", " << q.z << ", " << q.w << ")";
97 return out;
98 }

References impeller::Quaternion::w, impeller::Quaternion::x, impeller::Quaternion::y, and impeller::Quaternion::z.

## ◆ operator<<() [9/13]

template<class T >

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::TPoint< T > & | p
| ) |  |
| inline

Definition at line 320 of file point.h.

321 {
322 out << "(" << p.x << ", " << p.y << ")";
323 return out;
324 }

References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.

## ◆ operator<<() [10/13]

template<class T >

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::TRect< T > & | r
| ) |  |
| inline

Definition at line 496 of file rect.h.

497 {
498 out << "(" << r.GetOrigin() << ", " << r.GetSize() << ")";
499 return out;
500 }

References impeller::TRect< T >::GetOrigin(), and impeller::TRect< T >::GetSize().

## ◆ operator<<() [11/13]

template<class T >

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::TSize< T > & | s
| ) |  |
| inline

Definition at line 147 of file size.h.

148 {
149 out << "(" << s.width << ", " << s.height << ")";
150 return out;
151 }

References impeller::TSize< T >::height, and impeller::TSize< T >::width.

## ◆ operator<<() [12/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::Vector3 & | p
| ) |  |
| inline

Definition at line 323 of file vector.h.

323 {
324 out << "(" << p.x << ", " << p.y << ", " << p.z << ")";
325 return out;
326 }

References impeller::Vector3::x, impeller::Vector3::y, and impeller::Vector3::z.

## ◆ operator<<() [13/13]

std::ostream& std::operator<< | ( | std::ostream & | out,
|  | const impeller::Vector4 & | p
| ) |  |
| inline

Definition at line 328 of file vector.h.

328 {
329 out << "(" << p.x << ", " << p.y << ", " << p.z << ", " << p.w << ")";
330 return out;
331 }

References impeller::Vector4::w, impeller::Vector4::x, impeller::Vector4::y, and impeller::Vector4::z.

impeller::Quaternion::z
Scalar z
Definition: quaternion.h:19
impeller::Half::x
InternalHalf x
Definition: half.h:41
impeller::TPoint::y
Type y
Definition: point.h:26
impeller::Scalar
float Scalar
Definition: scalar.h:18
impeller::HalfVector2::x
InternalHalf x
Definition: half.h:131
impeller::HalfVector3::y
InternalHalf y
Definition: half.h:104
impeller::Quaternion::w
Scalar w
Definition: quaternion.h:20
impeller::Color::alpha
Scalar alpha
Definition: color.h:143
impeller::HandleGLES::name
std::optional< UniqueID > name
Definition: handle_gles.h:37
impeller::HandleGLES::IsDead
constexpr bool IsDead() const
Definition: handle_gles.h:43
impeller::TRect::GetOrigin
constexpr TPoint< Type > GetOrigin() const
Returns the upper left corner of the rectangle as specified when it was constructed.
Definition: rect.h:154
impeller::Color::green
Scalar green
Definition: color.h:133
impeller::Vector3::x
Scalar x
Definition: vector.h:23
impeller::HandleTypeToString
std::string HandleTypeToString(HandleType type)
Definition: handle_gles.cc:11
impeller::Quaternion::x
Scalar x
Definition: quaternion.h:17
impeller::Matrix::e
Scalar e[4][4]
Definition: matrix.h:40
impeller::HalfVector4::x
InternalHalf x
Definition: half.h:62
impeller::HalfVector3::x
InternalHalf x
Definition: half.h:103
impeller::HandleGLES::type
HandleType type
Definition: handle_gles.h:36
impeller::Color::red
Scalar red
Definition: color.h:128
impeller::Vector3::z
Scalar z
Definition: vector.h:25
impeller::Vector4::x
Scalar x
Definition: vector.h:235
impeller::HalfVector4::y
InternalHalf y
Definition: half.h:63
impeller::Vector3::y
Scalar y
Definition: vector.h:24
impeller::TSize::width
Type width
Definition: size.h:22
impeller::HalfVector4::z
InternalHalf z
Definition: half.h:64
impeller::TPoint::x
Type x
Definition: point.h:25
impeller::Vector4::w
Scalar w
Definition: vector.h:238
impeller::TRect::GetSize
constexpr TSize< Type > GetSize() const
Returns the size of the rectangle as specified when it was constructed and which may be negative in e...
Definition: rect.h:159
impeller::Vector4::y
Scalar y
Definition: vector.h:236
impeller::HalfVector3::z
InternalHalf z
Definition: half.h:105
impeller::Quaternion::y
Scalar y
Definition: quaternion.h:18
impeller::TSize::height
Type height
Definition: size.h:23
impeller::Color::blue
Scalar blue
Definition: color.h:138
impeller::Vector4::z
Scalar z
Definition: vector.h:237
impeller::HalfVector4::w
InternalHalf w
Definition: half.h:65
impeller::HalfVector2::y
InternalHalf y
Definition: half.h:132