K. Moon | 832a694 | 2022-10-31 20:11:31 +0000 | [diff] [blame] | 1 | // Copyright 2019 The PDFium Authors |
Lei Zhang | 6e3fd71 | 2019-06-13 18:42:38 +0000 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Lei Zhang | 763d0d3 | 2019-12-10 08:33:25 +0000 | [diff] [blame] | 5 | #ifndef CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_ |
| 6 | #define CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_ |
Lei Zhang | 6e3fd71 | 2019-06-13 18:42:38 +0000 | [diff] [blame] | 7 | |
Lei Zhang | 740b131 | 2021-04-29 18:08:12 +0000 | [diff] [blame] | 8 | #include <iosfwd> |
Lei Zhang | 6e3fd71 | 2019-06-13 18:42:38 +0000 | [diff] [blame] | 9 | |
| 10 | #include "core/fxcrt/fx_coordinates.h" |
| 11 | |
| 12 | std::ostream& WriteFloat(std::ostream& stream, float value); |
Lei Zhang | c24ab4e | 2022-08-09 17:21:50 +0000 | [diff] [blame] | 13 | std::ostream& WriteMatrix(std::ostream& stream, const CFX_Matrix& matrix); |
| 14 | std::ostream& WritePoint(std::ostream& stream, const CFX_PointF& point); |
Lei Zhang | f979a14 | 2022-09-12 16:05:48 +0000 | [diff] [blame] | 15 | std::ostream& WriteRect(std::ostream& stream, const CFX_FloatRect& rect); |
Lei Zhang | 6e3fd71 | 2019-06-13 18:42:38 +0000 | [diff] [blame] | 16 | |
Lei Zhang | 763d0d3 | 2019-12-10 08:33:25 +0000 | [diff] [blame] | 17 | #endif // CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_ |