D15056: [EnhancedPathShape] Keep correct aspect ratio of odf files

Anthony Fieroni noreply at phabricator.kde.org
Fri Aug 24 13:57:59 BST 2018


anthonyfieroni created this revision.
anthonyfieroni added reviewers: Calligra: 3.0, danders, boemann.
Herald added a project: Calligra: 3.0.
Herald added a subscriber: Calligra-Devel-list.
anthonyfieroni requested review of this revision.

REVISION SUMMARY
  View bound has same aspect ratio as content size, view box is square, so when calculation is applied result rect loose it ratio and always became a square like describe in bug report.
  
  CCBUG: 334608

TEST PLAN
  Now it performed current size bounds to view box, which will result in cutting size to fix view box (if needed) then it scaled to result size by keeping aspect ratio.

REPOSITORY
  R8 Calligra

REVISION DETAIL
  https://phabricator.kde.org/D15056

AFFECTED FILES
  plugins/pathshapes/enhancedpath/EnhancedPathShape.cpp

To: anthonyfieroni, #calligra:_3.0, danders, boemann
Cc: Calligra-Devel-list, cochise, vandenoever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20180824/95403cfc/attachment.htm>


More information about the calligra-devel mailing list