<table><tr><td style="">anthonyfieroni created this revision.<br />anthonyfieroni added reviewers: Calligra: 3.0, danders, boemann.<br />Herald added a project: Calligra: 3.0.<br />Herald added a subscriber: Calligra-Devel-list.<br />anthonyfieroni requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15056">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>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.</p>
<p>CCBUG: 334608</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>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.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R8 Calligra</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15056">https://phabricator.kde.org/D15056</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/pathshapes/enhancedpath/EnhancedPathShape.cpp</div></div></div><br /><div><strong>To: </strong>anthonyfieroni, Calligra: 3.0, danders, boemann<br /><strong>Cc: </strong>Calligra-Devel-list, cochise, vandenoever<br /></div>