| Flutter Impeller |

Classes | Functions
std Namespace Reference

## Classes
struct | equal_to< impeller::Glyph >
struct | equal_to< impeller::ScaledFont >
struct | equal_to< impeller::SubpixelGlyph >
struct | hash< impeller::DepthAttachmentDescriptor >
struct | hash< impeller::Font::Metrics >
struct | hash< impeller::Glyph >
struct | hash< impeller::ScaledFont >
struct | hash< impeller::StencilAttachmentDescriptor >
struct | hash< impeller::SubpixelGlyph >
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 961 of file color.h.

961 {
962 out << "(" << c.red << ", " << c.green << ", " << c.blue << ", " << c.alpha
963 << ")";
964 return out;
965 }

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 163 of file half.h.

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

References impeller::Half::x.

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

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

Definition at line 168 of file half.h.

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

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 175 of file half.h.

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

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 183 of file half.h.

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

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 72 of file handle_gles.h.

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

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 593 of file matrix.h.

593 {
594 out << "(" << std::endl << std::fixed;
595 for (size_t i = 0; i < 4u; i++) {
596 for (size_t j = 0; j < 4u; j++) {
597 out << std::setw(15) << m.e[j][i] << ",";
598 }
599 out << std::endl;
600 }
601 out << ")";
602 return out;
603 }

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 337 of file point.h.

338 {
339 out << "(" << p.x << ", " << p.y << ")";
340 return out;
341 }

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 782 of file rect.h.

783 {
784 out << "(" << r.GetOrigin() << ", " << r.GetSize() << ")";
785 return out;
786 }

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 149 of file size.h.

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

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:42
impeller::TPoint::y
Type y
Definition: point.h:31
impeller::Scalar
float Scalar
Definition: scalar.h:18
impeller::HalfVector2::x
InternalHalf x
Definition: half.h:132
impeller::HalfVector3::y
InternalHalf y
Definition: half.h:105
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:33
impeller::HandleGLES::IsDead
constexpr bool IsDead() const
Definition: handle_gles.h:39
impeller::TRect::GetOrigin
constexpr TPoint< Type > GetOrigin() const
Returns the upper left corner of the rectangle as specified by the left/top or x/y values when it was...
Definition: rect.h:310
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:63
impeller::HalfVector3::x
InternalHalf x
Definition: half.h:104
impeller::HandleGLES::type
HandleType type
Definition: handle_gles.h:32
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:64
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:65
impeller::TPoint::x
Type x
Definition: point.h:30
impeller::Vector4::w
Scalar w
Definition: vector.h:238
impeller::TRect::GetSize
constexpr TSize< Type > GetSize() const
Returns the size of the rectangle which may be negative in either width or height and may have been c...
Definition: rect.h:317
impeller::Vector4::y
Scalar y
Definition: vector.h:236
impeller::HalfVector3::z
InternalHalf z
Definition: half.h:106
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:66
impeller::HalfVector2::y
InternalHalf y
Definition: half.h:133