[Libreoffice-commits] core.git: vcl/inc
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 2 05:26:57 UTC 2020
vcl/inc/skia/utils.hxx | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit 4374e57dd337c9be37431339323cf78dad66dd3e
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Sep 30 19:32:15 2020 +0200
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Fri Oct 2 07:26:15 2020 +0200
add operator<< for SkMatrix
Change-Id: Ib3b0cd624e52ffcd765bb2ac48cafd6abfc476cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103744
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/vcl/inc/skia/utils.hxx b/vcl/inc/skia/utils.hxx
index 222a413b511e..473edfdf0d3f 100644
--- a/vcl/inc/skia/utils.hxx
+++ b/vcl/inc/skia/utils.hxx
@@ -115,6 +115,15 @@ inline std::basic_ostream<charT, traits>& operator<<(std::basic_ostream<charT, t
return stream;
}
+template <typename charT, typename traits>
+inline std::basic_ostream<charT, traits>& operator<<(std::basic_ostream<charT, traits>& stream,
+ const SkMatrix& matrix)
+{
+ return stream << "[" << matrix[0] << " " << matrix[1] << " " << matrix[2] << "]"
+ << "[" << matrix[3] << " " << matrix[4] << " " << matrix[5] << "]"
+ << "[" << matrix[6] << " " << matrix[7] << " " << matrix[8] << "]";
+}
+
template <typename charT, typename traits>
inline std::basic_ostream<charT, traits>& operator<<(std::basic_ostream<charT, traits>& stream,
const SkImage& image)
More information about the Libreoffice-commits
mailing list