[Gimp-developer] A plan for GimpRectangleTool

Simon Budig simon at budig.de
Mon Jun 25 01:44:40 PDT 2007


Martin Nordholts (enselic at gmail.com) wrote:
> With the introduction of helper functions like
> 
> void gimp_rectangle_tool_constrain_aspect (GimpRectangleTool
> *rectangle_tool, gdouble aspect, const gchar *apply_on_x, const gchar
> *apply_on_y)
> {
>   /* apply_on_x may be "x1", "x2" or "center_x", same for on_y */
> }

Hmm, wouldn't an enum for apply_on_* make more sense?

Bye,
        Simon
-- 
              simon at budig.de              http://simon.budig.de/


More information about the Gimp-developer mailing list