diff options
Diffstat (limited to 'core/fxcrt/fx_coordinates.cpp')
-rw-r--r-- | core/fxcrt/fx_coordinates.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/fxcrt/fx_coordinates.cpp b/core/fxcrt/fx_coordinates.cpp index bd06ce1473..ad64f0b43e 100644 --- a/core/fxcrt/fx_coordinates.cpp +++ b/core/fxcrt/fx_coordinates.cpp @@ -205,6 +205,12 @@ std::ostream& operator<<(std::ostream& os, const CFX_FloatRect& rect) { << rect.left << ", bot " << rect.bottom << ")]"; return os; } + +std::ostream& operator<<(std::ostream& os, const CFX_RectF& rect) { + os << "rect[w " << rect.Width() << " x h " << rect.Height() << " (left " + << rect.left << ", top " << rect.top << ")]"; + return os; +} #endif // NDEBUG CFX_Matrix CFX_Matrix::GetInverse() const { |