From: rpragana@acm.org Subject: Announce: SlideWidget alpha. Date: Tue, 06 Oct 1998 22:57:02 GMT Hi! I'm implementing a simple widget for doing fast drawings, as the canvas is not very suitable for what I plan to do. The "slide" widget is not a general replacement for the canvas, but very simple to use, fast and have some features suitable for editing slides: * a background with "glued" objects that make it fast to be redrawn, even with many such objects (inspired by the raster widget). You may glue/unglue items at will. * images got directly from the file, without tk's caching, resized on-the-flight, with very fast dithering. Read only jpeg now, but can easily be adapted for other image formats. * zoom as a configuration option (config -zoom n*16) giving reduced (n<1) or enlarged (n>1) view. Of course, the widget is scrollable too, using standard scrollbars. * rubberbands configurable (rectangular, line, oval), using XOR function, directly on top of the pixmap, to not disturb the drawing, and for fast redraw. * layered structure. You can make "config -visible 0" to not show all objects in a layer. Any number of layers can be created with no speed impact. * The object kinds we have now are only lines,rectangles,arcs/ovals and images. But I plan to include at least splines. * exporting to jpeg images. (other formats, including postscript will be available soon) * There will be (not yet done) a command to map the "slide widget" image to the root, to show a slide presentation, with effects to change from one slide to the other. This is the main purpose of the widget. I'm looking for other interested people (hackers) to help me in design/develop this code. All coding done in plain C, adapted from the square widget. If you want what I've done yet, please ccontact me at rpragana@acm.org. (Sorry, but no release in a home page yet, only by e-mail, but the code is GPLed) -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own