morro
201a0f2003
rotation snap only if the toggle is enabled
7 years ago
morro
fba0cbe483
refractoring code
7 years ago
morro
eebade4700
rotation snapping every 45 degrees
7 years ago
morro
687247f473
scale rotation anchor distance with zoom
7 years ago
Martin Lellep
9cafe40a4d
Add missing math header.
7 years ago
morro
151d5f44f5
undo working properly
7 years ago
morro
5353c15d62
undo improvements; rotation handle improvements
7 years ago
morro
8afa48ce95
added dedicated rotation handle
7 years ago
morro
b1aea801ba
mouse rotation relative to the center of the object
7 years ago
Andreas Butti
b097f00030
Rotate at the correct point
7 years ago
Andreas Butti
5b7de9c541
Drawing center of rotation
7 years ago
Andreas Butti
dc82fa2d6f
Rotate the whole selection
7 years ago
morro
aa7b19bfcc
getting the undoAction to work properly..
7 years ago
morro
7e34a38eca
added rotation undo action
7 years ago
morro
e94cf6fcb8
rotation works (top right handle)
7 years ago
morro
e36368d46b
rotation preview pt.1
7 years ago
Andreas Butti
8a8cc6341d
Renamed PageView to XojPageView, to prevend the same name as Poppler
7 years ago
Andreas Butti
c15aa20087
Color wrapper class
7 years ago
MarPiRK
1aa410a6e7
Got rid of using namespace std
...
It's really convenient, but can lead to unpredicted behavior.
11 years ago
MarPiRK
f14a780237
Resorted includes
...
Basing on some new sorting rules
11 years ago
Andreas Butti
dab9333072
Merged
11 years ago
MarPiRK
24fb01b6d3
Formatting review
...
Basing on new coding conventions (on https://github.com/xournalpp/xournalpp/wiki/Coding-conventions ) – mainly 120 margin changes
11 years ago
x2b
7d4bbc4ede
Normalized includes
11 years ago
MarPiRK
765a6a0d32
Uhh...
...
Bravo Marek... I don't know, why I assumed that `sizeof sth` will work...
Also some cppcheck fixes and questions.
11 years ago
MarPiRK
af6b50d76a
Finishing touches to string_new
...
Fixed some autoformatted code, removed unnecessary std::list.clear() in destructors, replace_all_chars is back based on string (based on benchmark from http://stackoverflow.com/a/18892532 ).
11 years ago
MarPiRK
0e02a81fa0
Removal of ListIterator – part of code using GList* rewritten to std::vector - using its own iterator.
11 years ago
MarPiRK
a3634d7ce4
Standardized formatting
11 years ago
MarPiRK
fafe0603cc
Complete rewrite of string
...
Now it's based on std::string, but with help of boost::local and boost::algorithm - icu was veeery inconveinient and memory consuming. Now memory consuption is ridiculously lower than in basic glib_new branch.
I've also added streams instead of good old printf's, but it's just basic stuff. New thing is also usage of boost library and replacing some glibc functions with it - I have done only small chunk of them. To get rid of glibc completely we would have to move to gtkmm and rewrite looot of code, but I think that it's worth it. Boost will be used in future for i18n.
The whole thing compiles now and at a glance is pretty stable, but it needs deep testing to make shure that everything works as it should without any strange crashes, which I faced while writing.
If anyone has questions about new string handling please cntact with me.
11 years ago
x2b
bc8c0a46e6
Fixed scaling undo
...
The EditSelection used to create a ScaleUndoAction
and a MoveUndoAction after scaling the content
in certain ways.
Signed-off-by: Wilson Brenna <wbrenna@uwaterloo.ca>
12 years ago
x2b
e36176be9f
Made PageRef an actual reference
...
Signed-off-by: Wilson Brenna <wbrenna@uwaterloo.ca>
12 years ago
x2b
117dc2de36
Improved direct copying
...
Now copied objects are placed correctly even after
intermediate moves
Signed-off-by: Wilson Brenna <wbrenna@uwaterloo.ca>
12 years ago
x2b
3a453507ed
Improve undo for scaling/moving of content
...
An undo event is always generated as soon as the selection is
moved/scaled and not only after the selection is removed. This
makes it possible to correctly undo a series of moving/scaling
operations although occasionaly move undos are created even
if the content was only scaled.
Signed-off-by: Wilson Brenna <wbrenna@uwaterloo.ca>
12 years ago
Wilson Brenna
e241ee1a5f
Formatted master using same astyle as addpoppler.
12 years ago
Wilson Brenna
be0507b05e
Coarser movement + fixes bug #35 .
13 years ago
AndreasB123
eec30c5488
Patch from Thomas Neumann, spelling correction
...
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@186 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
AndreasB123
36d8c82e7b
Patch from Thomas Neumann, spelling correction
...
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@186 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
f442c8418f
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@169 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
21de5d013d
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@169 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
578690dacb
Automake chanages
...
small bugfixes
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@146 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
55d741fefc
Automake chanages
...
small bugfixes
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@146 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
da1df0313e
Bugfixes
...
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@144 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
38be4e695b
Bugfixes
...
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@144 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
782f64ea1a
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@137 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
93d2590ee7
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@137 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
9bc25e06b0
PDF export fix
...
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@129 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
94b5243c8a
PDF export fix
...
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@129 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
1971aeb294
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@127 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
38c5725059
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@127 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
f0ce0f116e
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@123 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
a649420180
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@123 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago