1. 16 Nov, 2006 1 commit
    • Thorsten Zachmann's avatar
      o let normalize return the diff in shape coordinates · f9412c55
      Thorsten Zachmann authored
        This fixes e.g. undoing of point deletion in rotated objects and is
        also needed for the ellipse I'm working on at the moment.
      o Add a new typedef for the path shapes as discussed with Jan last
        weekend  
      
      svn path=/trunk/koffice/; revision=605429
      f9412c55
  2. 25 Oct, 2006 1 commit
  3. 14 Oct, 2006 3 commits
  4. 08 Oct, 2006 1 commit
    • Thorsten Zachmann's avatar
      o More preparation for parameter shapes. · d6edd2b1
      Thorsten Zachmann authored
        Added a ActiveHandle class which is responible for holding data about
        the active handle. At the moment this is only the currently active
        point.
      o Only paint point of path shapes when the KoPathTool is selected.  
      
      svn path=/trunk/koffice/; revision=593550
      d6edd2b1
  5. 29 Sep, 2006 1 commit
    • Thorsten Zachmann's avatar
      Prepare for parameter shapes. · 46cc8e87
      Thorsten Zachmann authored
      o split arcTo in arcTo and arcToCurve. arcToCurve calculates the points
        of the curves.
      o Move documentToShape and shapeToDocument to KoPathShape.  
      
      svn path=/trunk/koffice/; revision=590318
      46cc8e87
  6. 25 Sep, 2006 1 commit
  7. 21 Sep, 2006 1 commit
  8. 20 Sep, 2006 1 commit
  9. 14 Sep, 2006 1 commit
  10. 13 Sep, 2006 2 commits
  11. 12 Sep, 2006 2 commits
    • Jan Hambrecht's avatar
      * implemented commands for joining and breaking paths · 6843a4bc
      Jan Hambrecht authored
      * changed KoPathShape::joinBetween to return success/failure
      * changed KoPathShape::breakAt to return success/failure and the inserted point
      * some more property cleaning when unsetting a point property
      * renamed KoPointBaseCommand to KoPathBaseCommand
      
      
      svn path=/trunk/koffice/; revision=583680
      6843a4bc
    • Jan Hambrecht's avatar
      * implemented breaking a path at a selected point or segment · 0bebba4a
      Jan Hambrecht authored
      * implemented joining two subpath at their selected end nodes
      * added some helper functions like reversing a subpath,
        closing a specified subpath or finding a point in the path
      * introduced a new type KoPointPosition do describe a path points
        position inside the path
      * added setProperty, unsetProperty functions to the KoPathPoint
        to add or remove a single point property
      * made some documentation updates
      
      There are no commands yet to undo/redo the new functions. I am
      working on them next.
      
      
      svn path=/trunk/koffice/; revision=583648
      0bebba4a
  12. 11 Sep, 2006 1 commit
  13. 10 Sep, 2006 2 commits
  14. 09 Sep, 2006 1 commit
    • Jan Hambrecht's avatar
      Implemented splitting a path segment at a given position by inserting a new · 103e793b
      Jan Hambrecht authored
      path point. 
      * introduced a KoPathSegment, a pair of two neighboring path points
      * added an assignment operator to the KoPathPoint
      * the splitting is done in the KoPathShape::splitAt function
      * uncommented the KoPathShape::nextPoint function to retrieve the second
        point of a KoPathSegment
      
      
      
      svn path=/trunk/koffice/; revision=582545
      103e793b
  15. 06 Sep, 2006 1 commit
  16. 05 Sep, 2006 1 commit
  17. 28 Aug, 2006 1 commit
    • Thorsten Zachmann's avatar
      o Move changing of position into the normalize method. · 5699eaad
      Thorsten Zachmann authored
        This fixes moving of points in rotated shapes.
      o First check if there is a control point at a position. 
        This makes it possible to change a control point when it is at the
        same position as a point.
      
      svn path=/trunk/koffice/; revision=578015
      5699eaad
  18. 24 Aug, 2006 1 commit
  19. 23 Aug, 2006 2 commits
  20. 22 Aug, 2006 1 commit
    • Thomas Zander's avatar
      Fix more Api docs. · 9f6f9ee0
      Thomas Zander authored
      Make some properties private instead of protected, which means no docs needed :)
      
      svn path=/trunk/koffice/; revision=575918
      9f6f9ee0
  21. 21 Aug, 2006 1 commit
    • Jan Hambrecht's avatar
      introduce smooth and symmetric KoPathPoint properties and respect · 2b8be95c
      Jan Hambrecht authored
      them when editing the path. one can cycle through the unsmooth, smooth
      and symmetric states by right clicking one a path point.
      
      smooth == control points are one a line through the point
      symmetric == like smooth but they have the same distance to the point
      
      TODO: paint the path points differently depending on the smooth/symmetric state
      
      
      svn path=/trunk/koffice/; revision=575720
      2b8be95c
  22. 18 Aug, 2006 2 commits
  23. 16 Aug, 2006 1 commit
  24. 15 Aug, 2006 1 commit
  25. 08 Aug, 2006 1 commit
  26. 31 Jul, 2006 1 commit
    • Thomas Zander's avatar
      Constify viewConverter, and by dependency also; · afcfeac7
      Thomas Zander authored
      - KoShape (and inheriting classes) paint, paintDecoration
      - KoShapeManager paint
      - KoZoomHandler
      
      Also I fixed the group command; its wrong to use the initial bounding rect
      and add to that if the initial has no objects.
      
      svn path=/trunk/koffice/; revision=568286
      afcfeac7
  27. 07 Jun, 2006 1 commit
  28. 26 May, 2006 1 commit
  29. 25 May, 2006 1 commit