• Jehan's avatar
    app, libgimp, pdb: add "distance-metric" property to GimpPDBContext. · e164aee7
    Jehan authored
    This property is currently only used for gimp_edit_blend() to control
    how are computed distances. In the future, it could be used for more
    functions making use of "gegl:distance-transform" operation, or even for
    other algorithms, if relevant.
    This new property obviously comes with 2 new PDB calls:
    gimp_context_get_distance_metric() & gimp_context_set_distance_metric()
gimppdbcontext.c 16.9 KB