app: add support for brush reflection

Desktop / GNOME / GIMP - Ell [yahoo.com] - 22 December 2017 22:52 EST

Add support for reflecting brushes as part of their transformation. The reflection is performed as the last step of the transformation, across the vertical axis.

The option to reflect the brush is not exposed in the UI, or through the PDB, but is intended to be used for linking the brush transformation to the view transformation, in the next commit.

a0b73420ec app: add support for brush reflection
app/core/gimpbrush-boundary.c | 14 +++++++++-----
app/core/gimpbrush-boundary.h | 1 +
app/core/gimpbrush-transform.c | 18 +++++++++++++-----
app/core/gimpbrush-transform.h | 4 ++++
app/core/gimpbrush.c | 34 ++++++++++++++++++++++------------
app/core/gimpbrush.h | 8 ++++++++
app/core/gimpbrushcache.c | 5 +++++
app/core/gimpbrushcache.h | 2 ++
app/core/gimpbrushgenerated.c | 16 ++++++++++++++++
app/paint/gimpbrushcore.c | 8 ++++++--
app/paint/gimpbrushcore.h | 3 ++-
app/paint/gimppaintoptions.c | 2 +-
app/tools/gimpbrushtool.c | 1 +
13 files changed, 90 insertions(+), 26 deletions(-)

Upstream: git.gnome.org


  • Share