blob: 13dd12e5a5bd52491675a19c312bf3d62b36cc78 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIB_UI_GEOMETRY_CPP_FORMATTING_H_
#define LIB_UI_GEOMETRY_CPP_FORMATTING_H_
#include <fuchsia/math/cpp/fidl.h>
#include <iosfwd>
namespace fuchsia {
namespace math {
// NOTE:
// //garnet/public/lib/fostr/fidl/fuchsia.math generates ostream formatters
// for this library *except* those formatters that are listed here. The code
// generator knows which formatters to exclude from the generated code by
// consulting the 'amendments.json' file in that directory.
//
// If you add or remove formatters from this file, please be sure that the
// amendments.json file is updated accordingly.
std::ostream& operator<<(std::ostream& os, const Point& value);
std::ostream& operator<<(std::ostream& os, const PointF& value);
std::ostream& operator<<(std::ostream& os, const Point3F& value);
std::ostream& operator<<(std::ostream& os, const Rect& value);
std::ostream& operator<<(std::ostream& os, const RectF& value);
std::ostream& operator<<(std::ostream& os, const RRectF& value);
std::ostream& operator<<(std::ostream& os, const Size& value);
std::ostream& operator<<(std::ostream& os, const SizeF& value);
std::ostream& operator<<(std::ostream& os, const Inset& value);
std::ostream& operator<<(std::ostream& os, const InsetF& value);
std::ostream& operator<<(std::ostream& os, const Transform& value);
} // namespace math
} // namespace fuchsia
#endif // LIB_UI_GEOMETRY_CPP_FORMATTING_H_