GtkDrawingArea & Zoom


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
Skill Integration System -- Image Quality
Email: Jean-Christophe Berthon cgey com
Tel: (+33) 561 31 6639

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