1. 13 Jun, 2018 2 commits
  2. 12 Jun, 2018 6 commits
  3. 10 Jun, 2018 8 commits
  4. 09 Jun, 2018 2 commits
    • Ell's avatar
      app: derive GimpMeasureTool from GimpTransformTool · eccabd9a
      Ell authored
      Derive GimpMeasureTool from GimpTransformTool (and
      GimpMeasureOptions from GimpTransformOptions), so that we can reuse
      GimpTransformTool's logic for the "straighten" function.  This
      simplifies the code, aligns the measure tool with the rest of the
      transform tools in terms of transform-related options (it can now
      transform selections and paths, in addition to layers, and the
      resampling method and clipping behavior are adjustable,) and fixes
      straightening of layer groups.
      Rename the function from "auto straighten" to just "straighten".
      Don't resize the canvas after straightening.  Since we only
      transform the active layer, and not the entire image, resizing the
      canvas doesn't make much sense.
      When in 3-point mode, rotate the second point toward the third
      point, rather than toward the x-axis.
      (cherry picked from commit b0cf2e43)
    • Ell's avatar
      app: add GimpTransformGridTool; derive most transform tools from it · 340c4a23
      Ell authored
      While most of our transform tools use an interactive transform
      grid, and have similar behavior, the flip tool is an odd one out.
      The new "auto straighten" function of the measure tool introduces
      another tool that performs transformations, while not behaving like
      the rest of the transform tools.
      Factor out the parts of GimpTransformTool that handle user
      interaction into GimpTransformGridTool (with corresponding
      GimpTransformGridOptions, and GimpTransformGridToolUndo), and only
      leave the basic transform functionality and options in
      GimpTransformTool (and GimpTransformOptions).
      Derive all the transform tools (and transform-tool base classes)
      that previously derived from GimpTransformTool, from
      GimpTransformGridTool.  The one exception is GimpFlipTool, which
      still derives from GimpTransformTool directly.  The next commit
      will derive GimpMeasureTool from GimpTransformTool as well.
  5. 08 Jun, 2018 5 commits
  6. 07 Jun, 2018 1 commit
  7. 06 Jun, 2018 4 commits
  8. 05 Jun, 2018 12 commits