Add support for Vector Layers saving/loading in OpenRaster
AbandonedPublic

Authored by woltherav on Dec 6 2017, 3:45 PM.

Details

Reviewers
rempt
dkazakov
Group Reviewers
Krita
Summary

This adds the ability to save and load vector layers. This review request is here mostly because of the changes made to KisShapeLayer.h for whom I am not sure how dangerous they could be.

There's still update issues and I am not sure what to do with the X and Y values that MyPaint DOES write to ora, as does GIMP, but only show up in the examples in the spec, and not the actual spec text itself(there's no explanation of them).

EDIT: This patch doesn't change strings, which might be relevant in how serious it is.

Test Plan
  1. Make 8bit image.
  2. Add vector layer, add nodes.
  3. save image.
  4. load image.

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
woltherav requested review of this revision.Dec 6 2017, 3:45 PM
woltherav created this revision.
woltherav edited the summary of this revision. (Show Details)Dec 7 2017, 2:54 PM
dkazakov requested changes to this revision.Dec 11 2017, 2:17 PM

There is a problem with saving correct resolution of the shapes saved into the ORA file. E.g. saving and loading this file works incorrectly

This revision now requires changes to proceed.Dec 11 2017, 2:17 PM
woltherav abandoned this revision.Sep 14 2019, 2:06 PM