1. 17 Sep, 2017 4 commits
  2. 09 Sep, 2017 2 commits
    • Craig Watson's avatar
      Moved bezier calculations to UBGeometryUtils · 1a075c05
      Craig Watson authored
      -> also deleted obsolete UBInterpolator classes
      1a075c05
    • Craig Watson's avatar
      Improved drawing of end of current stroke · 123ebf1d
      Craig Watson authored
      Distance between the last drawn point and the current point is
      calculated to be able to discard very short stroke segments (i.e we only
      add to the current stroke if the input device has moved more than a
      certain distance since the last drawn point).
      
      This commit moves this code from the stroke to the scene, which allows
      to calculate distance more accurately: it is now calculated as the
      total, absolute distance traveled since the last point, rather than simply the
      length of a line between the last point and current one.
      123ebf1d
  3. 14 May, 2017 2 commits
  4. 30 Apr, 2017 6 commits
  5. 24 Apr, 2017 1 commit
  6. 23 Apr, 2017 1 commit
    • Craig Watson's avatar
      Fix for copy/paste issues · fc81e27b
      Craig Watson authored
      This fixes two related issues:
      1) When taking a partial screenshot of the desktop, then copying it
      (Ctrl-C) and pasting it in a new document, it was not saved
      2) When a page of one document was copied into another (in document
      mode, by dragging the page onto another document), media files
      disappeared from the new page.
      fc81e27b
  7. 09 Apr, 2017 2 commits
    • Craig Watson's avatar
      Fixed PDF export page size · 716314fe
      Craig Watson authored
      In some cases, export of a document containing a PDF background to PDF
      caused the contents to be truncated.
      
      The "simple" PDF exporter will now set the output page size to be equal
      either to the document nominal size or, if the document has a background
      PDF item, to the size of this item.
      716314fe
    • Craig Watson's avatar
      Added sceneSize function to UBGraphicsScene · b7f5cc27
      Craig Watson authored
      b7f5cc27
  8. 11 Mar, 2017 6 commits
  9. 05 Mar, 2017 3 commits
  10. 04 Mar, 2017 2 commits
  11. 27 Feb, 2017 1 commit
    • Craig Watson's avatar
      Don't move a selection containing locked items · 6ff78892
      Craig Watson authored
      Fixes an issue where locked items could be moved if they were selected
      along with other items, and these items all moved by dragging the
      selection frame.
      
      This implementation prevents any movement of the selected items if at
      least one of them is locked. It also changes the colour of the selection
      frame, like a locked UBGraphicsDelegateFrame.
      6ff78892
  12. 25 Feb, 2017 1 commit
  13. 22 Feb, 2017 1 commit
  14. 19 Feb, 2017 1 commit
  15. 18 Feb, 2017 1 commit
    • Craig Watson's avatar
      Smaller Triangle tool · 8d9fc7b0
      Craig Watson authored
      Added checks for the size of the interior, cut-out triangle to make sure
      everything is drawn correctly at small sizes; buttons are now also
      hidden if they overflow from the tool.
      8d9fc7b0
  16. 12 Feb, 2017 2 commits
  17. 11 Feb, 2017 1 commit
    • Craig Watson's avatar
      Fix saving of groups' positions · 14849cf5
      Craig Watson authored
      Previously, only transforms were saved -- not positions (which are set
      if a group is moved by dragging it directly; if dragged by its frame,
      its transform is updated instead).
      
      Issue observed was that a group that had been moved would lose its new
      position when the document was saved then loaded. (All other transforms
      were kept, however).
      
      Now, when duplicating a group before saving a document, position is
      included in the group's transform.
      14849cf5
  18. 04 Feb, 2017 1 commit
  19. 01 Feb, 2017 1 commit
  20. 28 Jan, 2017 1 commit
    • Craig Watson's avatar
      Fix for text items' buttons overflowing from frame · fe6b9251
      Craig Watson authored
      This was observed in some cases on low-resolution screens, at least on
      Linux and Windows.
      
      The previously hardcoded value for the width of the text items' titlebar
      (consisting of the buttons for formatting text) was replaced by a
      method calculating its width (which varies based on screen resolution).
      fe6b9251