Re: graphics!!

2006-05-08 Thread Juhana Sadeharju

I think you may need to use a canvas. For example:
http://developer.gnome.org/doc/API/2.0/libgnomecanvas/index.html
http://www.dachaplin.dsl.pipex.com/goocanvas/

Do they have a graph widget? Or are they more primitive?

I need such a widget in audio apps:
(1) Envelopes drawn over the audio waveform widget.
(2) Frequency response curves of multiple parametric filters
drawn in one canvas.
(3) Control envelopes.

Much of the stuff what can be seen in VST plugins, in Absynth
(specially envelopes), Waves' plugins, etc. They look nice too
unlike what I most see here.

Does GTK canvases provide transparency? What programs uses the
canvases? I might want see how they look like.

With gtkglext/opengl all seems to be eventually simpler.
Multiple widgets can be combined by using suitable transparency
and depth coordinates. Decorations are done easily, e.g., by
modeling objects in 3D. But then I cannot use the GTK widgets
indistinctly. Interaction with the opengl objects comes a problem
as well, making it tempting to use, e.g., OSG (openscenegraph.org).
But that is a large software and written with C++, which could be
a problem if I want code in C.

How would GTK's Cairo integration help? If at all.

Juhana
-- 
  http://music.columbia.edu/mailman/listinfo/linux-graphics-dev
  for developers of open source graphics software
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: graphics!!

2006-05-08 Thread Michael L Torrie
On Mon, 2006-05-08 at 22:27 +0300, Juhana Sadeharju wrote:
 I think you may need to use a canvas. For example:
 http://developer.gnome.org/doc/API/2.0/libgnomecanvas/index.html
 http://www.dachaplin.dsl.pipex.com/goocanvas/
 
 Do they have a graph widget? Or are they more primitive?

No. GTK only provides primitives.  There have been several graph widgets
implemented using GTK.  

 
 I need such a widget in audio apps:
 (1) Envelopes drawn over the audio waveform widget.
 (2) Frequency response curves of multiple parametric filters
 drawn in one canvas.
 (3) Control envelopes.

All of these things would need to be implemented using primitives.  GTK
is just a GUI toolkit, not a domain-specific toolbox.  Audacity (which
uses wxWidgets not GTK) implemented their own widgets for dealing with
waveform graphs and selections and things.

 
 Much of the stuff what can be seen in VST plugins, in Absynth
 (specially envelopes), Waves' plugins, etc. They look nice too
 unlike what I most see here.
 
 Does GTK canvases provide transparency? What programs uses the
 canvases? I might want see how they look like.

There is no GTK canvas officially yet.  There are several
implementations of canvases for GTK including gnome-canvas, foo-canvas,
etc.  They vary in purpose and function.

 
 With gtkglext/opengl all seems to be eventually simpler.
 Multiple widgets can be combined by using suitable transparency
 and depth coordinates. Decorations are done easily, e.g., by
 modeling objects in 3D. But then I cannot use the GTK widgets
 indistinctly. Interaction with the opengl objects comes a problem
 as well, making it tempting to use, e.g., OSG (openscenegraph.org).
 But that is a large software and written with C++, which could be
 a problem if I want code in C.
 
 How would GTK's Cairo integration help? If at all.

Using Cairo do do you drawing of wave forms, envelopes, etc is a good
idea if Cairo is fast enough to do what you need to.  Certainly it seems
to me that a waveform graph, envelopes, etc would be well-suited to a
vector-drawing API.

 
 Juhana

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: graphics!!

2006-05-03 Thread Ivan N. Zlatev
On Wed, 2006-05-03 at 12:25 +0200, [EMAIL PROTECTED] wrote:
 
  Hello!!
  I need help about creating graphics...i want to represent points into a
 graphic, but i want to can interact with them too,so i need to click on them
 and see in the satatus bar what're the coordenates,i need to can delete them,
 and more things.
  I'm trying with gdk,but the problem is that i don't know how to interact with
  them,i only can represent them.
 So,can anyone suggest me how to do it??
 Thanks a lot!

I think you may need to use a canvas. For example:
http://developer.gnome.org/doc/API/2.0/libgnomecanvas/index.html
http://www.dachaplin.dsl.pipex.com/goocanvas/

-- 
Ivan N. Zlatev

Web: http://www.i-nZ.net
GPG Key: http://files.i-nz.net/i-nZ.asc
It's all some kind of whacked out conspiracy.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: graphics!!

2006-05-03 Thread Ivan N. Zlatev
On Wed, 2006-05-03 at 12:25 +0200, [EMAIL PROTECTED] wrote:
 
  Hello!!
  I need help about creating graphics...i want to represent points into a
 graphic, but i want to can interact with them too,so i need to click on them
 and see in the satatus bar what're the coordenates,i need to can delete them,
 and more things.
  I'm trying with gdk,but the problem is that i don't know how to interact with
  them,i only can represent them.
 So,can anyone suggest me how to do it??
 Thanks a lot!

I think you may need to use a canvas. For example:
http://developer.gnome.org/doc/API/2.0/libgnomecanvas/index.html
http://www.dachaplin.dsl.pipex.com/goocanvas/

-- 
Ivan N. Zlatev

Web: http://www.i-nZ.net
GPG Key: http://files.i-nz.net/i-nZ.asc
It's all some kind of whacked out conspiracy.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: graphics!!

2006-05-03 Thread Ivan N. Zlatev
On Wed, 2006-05-03 at 12:25 +0200, [EMAIL PROTECTED] wrote:
 
  Hello!!
  I need help about creating graphics...i want to represent points into a
 graphic, but i want to can interact with them too,so i need to click on them
 and see in the satatus bar what're the coordenates,i need to can delete them,
 and more things.
  I'm trying with gdk,but the problem is that i don't know how to interact with
  them,i only can represent them.
 So,can anyone suggest me how to do it??
 Thanks a lot!

I think you may need to use a canvas. For example:
http://developer.gnome.org/doc/API/2.0/libgnomecanvas/index.html
http://www.dachaplin.dsl.pipex.com/goocanvas/

-- 
Ivan N. Zlatev

Web: http://www.i-nZ.net
GPG Key: http://files.i-nz.net/i-nZ.asc
It's all some kind of whacked out conspiracy.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: graphics!!

2006-05-03 Thread Ivan N. Zlatev
On Wed, 2006-05-03 at 12:25 +0200, [EMAIL PROTECTED] wrote:
 
  Hello!!
  I need help about creating graphics...i want to represent points into a
 graphic, but i want to can interact with them too,so i need to click on them
 and see in the satatus bar what're the coordenates,i need to can delete them,
 and more things.
  I'm trying with gdk,but the problem is that i don't know how to interact with
  them,i only can represent them.
 So,can anyone suggest me how to do it??
 Thanks a lot!

I think you may need to use a canvas. For example:
http://developer.gnome.org/doc/API/2.0/libgnomecanvas/index.html
http://www.dachaplin.dsl.pipex.com/goocanvas/

-- 
Ivan N. Zlatev

Web: http://www.i-nZ.net
GPG Key: http://files.i-nz.net/i-nZ.asc
It's all some kind of whacked out conspiracy.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: graphics!! - Evolution spam - not mine!

2006-05-03 Thread Ivan N. Zlatev
On Wed, 2006-05-03 at 11:45 +0100, Ivan N. Zlatev wrote:
 On Wed, 2006-05-03 at 12:25 +0200, [EMAIL PROTECTED] wrote:
  
   Hello!!
   I need help about creating graphics...i want to represent points into a
  graphic, but i want to can interact with them too,so i need to click on them
  and see in the satatus bar what're the coordenates,i need to can delete 
  them,
  and more things.
   I'm trying with gdk,but the problem is that i don't know how to interact 
  with
   them,i only can represent them.
  So,can anyone suggest me how to do it??
  Thanks a lot!
 
 I think you may need to use a canvas. For example:
 http://developer.gnome.org/doc/API/2.0/libgnomecanvas/index.html
 http://www.dachaplin.dsl.pipex.com/goocanvas/
 

My greatest apologies for my previous e-mail being sent 5 (!!!) times,
but it's not my fault. Apparently Evolution decided to spam you :S I
really hope this e-mail won't reach the mailing list five times as the
previous did...

-- 
Ivan N. Zlatev

Web: http://www.i-nZ.net
GPG Key: http://files.i-nz.net/i-nZ.asc
It's all some kind of whacked out conspiracy.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list