Re: GtkDrawingArea & Zoom
- From: Jim Edwards <jimedwards altavista com>
- To: Jean-Christophe Berthon <jean-christophe berthon cgey com>
- Cc: Gtk List <gtk-list gnome org>
- Subject: Re: GtkDrawingArea & Zoom
- Date: Tue, 31 Jul 2001 15:16:28 +0000
You might consider using GtlGLArea which inherits from GtkDrawingArea and
gives you all of the functionality of OpenGL.
GtkGLArea is distributed seperatly from:
http://www.student.oulu.fi/~jlof/gtkglarea/
and is also available vis cvs pserver at gnome.org
Jim
Jean-Christophe Berthon wrote:
> Hello,
>
> I want to use a GtkDrawingArea (I'll have lots of data represent by
> rectangles, lines and points all spread over) and I'm thinking of
> implementing a zoom feature.
>
> I would like to know if there is no particular technics to do such a job?
> Like if it is rather good to multiply the size of the Drawing Area by the
> zoom factor and doing the same to the coordinates of the darwn objects?
>
> If you encountered the same task, what solution did you choose and why?
>
> Best regards,
> ---
> Jean-Christophe Berthon
>
> Cap Gemini -- Ernst & Young
> France
> Skill Integration System -- Image Quality
> Email: Jean-Christophe Berthon cgey com
> Tel: (+33) 561 31 6639
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]