Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!thyme!kaleb From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley ) Newsgroups: comp.windows.x Subject: Re: Emulating pixmap with window Message-ID: <1990Dec5.021751.3383@thyme.jpl.nasa.gov> Date: 5 Dec 90 02:17:51 GMT References: <6233@quanta.eng.ohio-state.edu> <1990Nov27.155853.10911@smsc.sony.com> <1990Dec5.005912.13695@relay.wpd.sgi.com> Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 24 In article <1990Dec5.005912.13695@relay.wpd.sgi.com> mikey@sgi.com writes: >In article <1990Nov27.155853.10911@smsc.sony.com>, dce@smsc.sony.com (David Elliott) writes: >|> An XImage is not a drawable, but it sure would be nice to be able to >|> use Xlib-like drawing routines on an XImage. For example, it would >|> be nice to be able to draw lines, arcs, polygons, filled polygons, >|> and so forth, and to do other operations on XImages. Does such a >|> library exist? (Then again, maybe I missed something obvious...) > >What you're describing is a pixmap. XImage is for client-side data, >whereas pixmaps and windows have their contents known by the server. >Since XImage is for the client, it doesn't make sense to provide >server operations on its contents. That doesn't discount the need or desire to perform these kinds of operations on client-side images. Why must everyone re-invent the wheel for these drawing primitives? And, since we're already programming Xlib, why not have have a compatible, equivalent library of routines that act upon an image? -- Kaleb Keithley Jet Propulsion Labs kaleb@thyme.jpl.nasa.gov Good girls get to go to heaven, but bad girls get to go everywhere!