Hi,

[EMAIL PROTECTED] (Olivier) writes:

> what is the difference between for example
> gimp_canvas_draw_rectangle and gimp_draw_tool_draw_rectangle?

The GimpDrawTool API takes image coordinates while the (lowerlevel)
GimpCanvas API takes display coordinates.

> when should one use which function?

Whenever possible the tools should draw using the GimpDrawTool API
and only GimpDrawTool should use the GimpCanvas API.


Sven
_______________________________________________
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to