ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Jan-Apr/How-do-I-dissolve?

This is How-do-I-dissolve? in view mode; [Up]


Date: Sun 21-Feb-1989 16:42:26 From: Unknown Subject: How do I dissolve? I see in the display postscript extensions chapter of the manual a swell operator called dissolve. It takes n% of one window and (100-n)% of the current window and dissolves them together. But I can't figure out how to get it to work. The problem is that the source window is specified as a graphics state, a complex object that lives inside display postscript and can't be passed back to a user program. That's OK, I have a bitmap full of bits that I want to dissolve, and I know that it has a secret window and an associated gstate. (I know this because the composite operator also takes a gstate and the Bitmap object can composite like crazy.) The manual suggests that I make the gstate a "userobject" thing so I write some pswrapped code that locks the focus into the bitmap, thus activating its window and gstate and then: 0 gstate defineuserobject which seems to me should store a copy of the current gstate into userobject number 0. Instead, it tells me that there's no defineuserobject operator. I suppose I could try to define the gstate with a name, but it's quite unclear to me how windows map into postscript contexts -- do all the windows in a single application share a name space? I'm confused. >From: chari@cup.portal.com (Christopher Michael Whatley)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.