Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_coordinates_test_support.cpp
Go to the documentation of this file.
1// Copyright 2024 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#include "core/fxcrt/fx_coordinates_test_support.h"
6
7#include <ostream>
8
9#include "core/fxcrt/fx_coordinates.h"
10
11std::ostream& operator<<(std::ostream& os, const CFX_FloatRect& rect) {
12 os << "rect[w " << rect.Width() << " x h " << rect.Height() << " (left "
13 << rect.left << ", bot " << rect.bottom << ")]";
14 return os;
15}
16
17std::ostream& operator<<(std::ostream& os, const CFX_RectF& rect) {
18 os << "rect[w " << rect.Width() << " x h " << rect.Height() << " (left "
19 << rect.left << ", top " << rect.top << ")]";
20 return os;
21}
float Width() const
float Height() const
float Width() const
float Height() const