summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/canvas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/canvas.cxx')
-rw-r--r--slideshow/source/engine/canvas.cxx32
1 files changed, 32 insertions, 0 deletions
diff --git a/slideshow/source/engine/canvas.cxx b/slideshow/source/engine/canvas.cxx
new file mode 100644
index 000000000000..213b71f4e6b7
--- /dev/null
+++ b/slideshow/source/engine/canvas.cxx
@@ -0,0 +1,32 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "canvas.hxx"
+#include <canvas/canvastools.hxx>
+
+namespace slideshow {
+namespace internal {
+
+Canvas::Canvas() :
+ mxCanvas(),
+ maViewState(),
+ maViewInfo(),
+ maDummyDefaultViewState(),
+ maDummyDefaultRenderState()
+{
+ ::canvas::tools::initViewState( maViewState );
+ ::canvas::tools::initViewState( maDummyDefaultViewState );
+ ::canvas::tools::initRenderState( maDummyDefaultRenderState );
+}
+
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+