[okular] [Bug 381629] add arrow's option to annotation tools

Tobias Deiminger bugzilla_noreply at kde.org
Sat Jun 1 16:29:03 BST 2019


https://bugs.kde.org/show_bug.cgi?id=381629

--- Comment #5 from Tobias Deiminger <haxtibal at posteo.de> ---
Git commit d0e3a77de2c3b219c94b37a0a07953635840cd7f by Tobias Deiminger.
Committed on 01/06/2019 at 15:28.
Pushed by tobiasdeiminger into branch 'master'.

Add line annotation ending arrows for non PDF documents

Summary:
This implements drawing the various line ending styles for 2 point lines in
non-PDF documents.

Looks like this:
{F6833437}

Test Plan:
- open a *.txt document
- draw line annotations with different arrow styles: Square, Diamond,
OpenArrow, ClosedArrow, ROpenArrow, RClosedArrow, Butt, Slash, Circle
- ... as start and as end style (start needs D21238 to be configurable in GUI)
- ... filled or not (fill color can't be configured in GUI yet)
- ... with different leader line settings
- ... at various angles
- rotate and scale page
- leader line with setting 100 gives 100 pixel line at 100% zoom (use kruler to
verify)

Reviewers: #okular, aacid, sander

Reviewed By: sander

Subscribers: ngraham, sander, knambiar, okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D21248

M  +0    -4    ui/annotationwidgets.cpp
M  +295  -70   ui/pagepainter.cpp
M  +51   -0    ui/pagepainter.h

https://commits.kde.org/okular/d0e3a77de2c3b219c94b37a0a07953635840cd7f

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list