xref: /aosp_15_r20/external/pdfium/core/fpdfapi/edit/cpdf_contentstream_write_utils.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
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