blob: 2440d92188861239c3fd742ad20f76355fb1ccd3 [file] [log] [blame]
K. Moon832a6942022-10-31 20:11:31 +00001// Copyright 2019 The PDFium Authors
Lei Zhang6e3fd712019-06-13 18:42:38 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Lei Zhang763d0d32019-12-10 08:33:25 +00005#ifndef CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_
6#define CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_
Lei Zhang6e3fd712019-06-13 18:42:38 +00007
Lei Zhang740b1312021-04-29 18:08:12 +00008#include <iosfwd>
Lei Zhang6e3fd712019-06-13 18:42:38 +00009
10#include "core/fxcrt/fx_coordinates.h"
11
12std::ostream& WriteFloat(std::ostream& stream, float value);
Lei Zhangc24ab4e2022-08-09 17:21:50 +000013std::ostream& WriteMatrix(std::ostream& stream, const CFX_Matrix& matrix);
14std::ostream& WritePoint(std::ostream& stream, const CFX_PointF& point);
Lei Zhangf979a142022-09-12 16:05:48 +000015std::ostream& WriteRect(std::ostream& stream, const CFX_FloatRect& rect);
Lei Zhang6e3fd712019-06-13 18:42:38 +000016
Lei Zhang763d0d32019-12-10 08:33:25 +000017#endif // CORE_FPDFAPI_EDIT_CPDF_CONTENTSTREAM_WRITE_UTILS_H_