RSS/Atom feed Twitter
Site is read-only, email is disabled

Bad news about piecewise curves in the Print plugin

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Bad news about piecewise curves in the Print plugin Robert L Krawitz 30 May 02:51
  Bad news about piecewise curves in the Print plugin Sven Neumann 30 May 12:44
   Bad news about piecewise curves in the Print plugin Robert L Krawitz 30 May 16:13
Robert L Krawitz
2004-05-30 02:51:02 UTC (almost 20 years ago)

Bad news about piecewise curves in the Print plugin

Unfortunately, the gtkcurve widget doesn't allow setting the control points of the curve, only setting a dense curve (gtk_curve_set_vector). There may be a back door way of doing it, but that carries obvious hazards.

There's also no official interface for extracting the control points.

The upshot may wind up being that we supply only the dense curve interface to the GIMP plugin. That would be unfortunate.

Sven Neumann
2004-05-30 12:44:05 UTC (almost 20 years ago)

Bad news about piecewise curves in the Print plugin

Hi,

Robert L Krawitz writes:

Unfortunately, the gtkcurve widget doesn't allow setting the control points of the curve, only setting a dense curve (gtk_curve_set_vector). There may be a back door way of doing it, but that carries obvious hazards.

The GtkCurve widget is basically deprecated and scheduled for removal from GTK+. I would suggest that if you need such a widget you simply copy the code and change the namespace. You can then add the API you need.

Sven

------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

Robert L Krawitz
2004-05-30 16:13:16 UTC (almost 20 years ago)

Bad news about piecewise curves in the Print plugin

From: Sven Neumann
Date: 30 May 2004 12:44:05 +0200

Hi,

Robert L Krawitz writes:

> Unfortunately, the gtkcurve widget doesn't allow setting the control > points of the curve, only setting a dense curve > (gtk_curve_set_vector). There may be a back door way of doing it, but > that carries obvious hazards.

The GtkCurve widget is basically deprecated and scheduled for removal from GTK+. I would suggest that if you need such a widget you simply copy the code and change the namespace. You can then add the API you need.

That's good to know. Thanks.