Warning, /graphics/washipad/src/PaintingCanvas.qml is written in an unsupported language. File is not indexed.
0001 // This file is part of Washi Pad 0002 // SPDX-FileCopyrightText: 2018 Kevin Ottens <ervin@kde.org> 0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 0005 import QtQuick 2.0 0006 import QtQuick.Window 2.0 0007 0008 Rectangle { 0009 id: root 0010 color: "white" 0011 width: Math.max(Screen.width, 297 * Screen.pixelDensity) 0012 height: Math.max(Screen.height, 210 * Screen.pixelDensity) 0013 0014 PageMarker { 0015 anchors.centerIn: parent 0016 markerRadius: 1 0017 } 0018 0019 PageMarker { 0020 anchors.horizontalCenter: parent.left 0021 anchors.verticalCenter: parent.top 0022 } 0023 0024 PageMarker { 0025 anchors.horizontalCenter: parent.horizontalCenter 0026 anchors.verticalCenter: parent.top 0027 } 0028 0029 PageMarker { 0030 anchors.horizontalCenter: parent.right 0031 anchors.verticalCenter: parent.top 0032 } 0033 0034 PageMarker { 0035 anchors.horizontalCenter: parent.right 0036 anchors.verticalCenter: parent.verticalCenter 0037 } 0038 0039 PageMarker { 0040 anchors.horizontalCenter: parent.right 0041 anchors.verticalCenter: parent.bottom 0042 } 0043 0044 PageMarker { 0045 anchors.horizontalCenter: parent.horizontalCenter 0046 anchors.verticalCenter: parent.bottom 0047 } 0048 0049 PageMarker { 0050 anchors.horizontalCenter: parent.left 0051 anchors.verticalCenter: parent.bottom 0052 } 0053 0054 PageMarker { 0055 anchors.horizontalCenter: parent.left 0056 anchors.verticalCenter: parent.verticalCenter 0057 } 0058 }