diff options
author | Dennis Oberst <dennis.oberst@qt.io> | 2023-08-10 12:23:59 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-08-21 10:44:17 +0000 |
commit | 87487900104bfc85afe1dc96767484083667946f (patch) | |
tree | 4872472db08ab49c74b5b11f0069f3bfd33f2a4d | |
parent | bb7bbce1d0cea505b9898fd6c93596e51e28b88e (diff) |
SatelliteInfo example: oversample the SkyView to smoothen out aliasing
Task-number: QTBUG-114709
Change-Id: Iac2143b2089d641e91d5bd43dce8619a95242cec
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
(cherry picked from commit 16ff45c6ce6708ede1d77778bc1f96fde44e0462)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/positioning/satelliteinfo/SkyView.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/positioning/satelliteinfo/SkyView.qml b/examples/positioning/satelliteinfo/SkyView.qml index 89b8c23e..f454b286 100644 --- a/examples/positioning/satelliteinfo/SkyView.qml +++ b/examples/positioning/satelliteinfo/SkyView.qml @@ -8,6 +8,9 @@ import QtQuick.Shapes Rectangle { id: root + // Multisample this item to get rid of aliasing in our custom shapes. + layer.enabled: true + layer.samples: 4 // Sample text to calculate sky view size properly Text { id: sampleText |