Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!synoptics!decwrl!bacchus.pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Bitmap scaling in X Keywords: X blit scale stretch bitmap pixmap Message-ID: <1990Sep11.100202@wsl.dec.com> Date: 11 Sep 90 17:02:02 GMT References: <20200@well.sf.ca.us> Sender: news@wrl.dec.com (News) Reply-To: klee@wsl.dec.com Distribution: comp Organization: DEC Western Software Laboratory Lines: 17 In article <20200@well.sf.ca.us>, brent@well.sf.ca.us (Brent Southard) writes: |> Are there any functions in the X toolkit to provide for the scaling of |> bitmaps (pixmaps, actually, I suppose)? If not, what are the methods most |> people are employing to quickly provide this capability over a range of |> hardware? Most graphics extensions to X, such as Display PostScript and PEX, have facilities for image scaling. If you want to do this by hand, most books on computer graphics discuss something like "geometric transformations of images". The latest Foley & VanDam book has pseudocode for some of the simpler algorithms. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee