Add Shape(Paths) to show the page areas more delicately.
Needs ReviewPublic

Authored by woltherav on Sep 29 2019, 5:05 PM.

Details

Reviewers
leinir
Summary

This requires qml-module-qtquick-shapes/QtQuick.Shapes 1.12 to be installed, and uses the 'Shape' and 'ShapePath' QML objects to create shaped paths.

This allows for following the ACBF data a bit more delicately, and should lay the ground work for translation-overlay support.

The best way I could get a ShapePath made in QML was by feeding it a SVG Path d-string that is assembled in the ACBF data. It also doesn't handle the creation part of said paths.

This patch is pretty rough, I am especially not satisfied with how we're assembling svg for the frames and the jumps in the page 'stringpointlists' and for textarea we're doing so in the ACBFTextArea, especially as it seems the latter do get updated when adding new areas while the former doesn't.

Test Plan

build, open up an ACBF file that supports frames/textareas/jumps.

Diff Detail

Repository
R157 Peruse
Lint
Lint Skipped
Unit
Unit Tests Skipped
woltherav requested review of this revision.Sep 29 2019, 5:05 PM
woltherav created this revision.