Re: GtkDrawingArea & Zoom

You might consider using GtlGLArea which inherits from GtkDrawingArea and
gives you all of the functionality of OpenGL.
GtkGLArea is distributed seperatly from:

and is also available vis cvs pserver at


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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]