<table><tr><td style="">tobiasdeiminger created this revision.<br />Herald added a project: Okular.<br />Herald added a subscriber: okular-devel.<br />tobiasdeiminger 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/D21248">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This implements drawing the line endings for 2 point lines in non-PDF documents.</p>

<p>Implemented:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Square, Diamond, OpenArrow, ClosedArrow, ROpenArrow, RClosedArrow</li>
<li class="remarkup-list-item">for start and stop style (start can't be configured in GUI yet)</li>
<li class="remarkup-list-item">filled or not (fill color can't be configured in GUI yet)</li>
<li class="remarkup-list-item">with or without leader line</li>
</ul>

<p>TODO:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Circle, Butt, Slash</li>
<li class="remarkup-list-item">shorten main segment</li>
<li class="remarkup-list-item">Is there an existing class for affien matrix operations? If so, reuse it instead of implementing it again.</li>
<li class="remarkup-list-item">What about multiline annotations?</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">open a *.txt document</li>
<li class="remarkup-list-item">draw line annotations with different arrow styles</li>
<li class="remarkup-list-item">... with different leader line settings</li>
<li class="remarkup-list-item">... at various angles</li>
<li class="remarkup-list-item">rotate and scale page</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>BRANCH</strong><div><div>feature/drawlineendings</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21248">https://phabricator.kde.org/D21248</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>ui/pagepainter.cpp<br />
ui/pagepainter.h</div></div></div><br /><div><strong>To: </strong>tobiasdeiminger<br /><strong>Cc: </strong>okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid<br /></div>