1 // Copyright 2019 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_ 6 #define CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_ 7 8 #include <iosfwd> 9 10 #include "core/fxcrt/fx_coordinates.h" 11 12 std::ostream& WriteFloat(std::ostream& stream, float value); 13 std::ostream& WriteMatrix(std::ostream& stream, const CFX_Matrix& matrix); 14 std::ostream& WritePoint(std::ostream& stream, const CFX_PointF& point); 15 std::ostream& WriteRect(std::ostream& stream, const CFX_FloatRect& rect); 16 17 #endif // CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_ 18