• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OpenStep Storage and DPSContext replacements?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenStep Storage and DPSContext replacements?


  • Subject: Re: OpenStep Storage and DPSContext replacements?
  • From: "John C. Randolph" <email@hidden>
  • Date: Thu, 27 Dec 2001 20:36:10 -0800

On Thursday, December 27, 2001, at 07:08 PM, Roberto Abraham wrote:

> I'd like to port the OpenStep PGPLOT drivers to Cocoa (PGPLOT is a
> widely-used scientific graphics library). I've tried building
> the OpenStep
> driver using Project Builder on Mac OS X and it gets reasonably
> far before
> hitting two roadblocks, which I'm hoping somebody out there
> might be able
> to help me get past:
>
> (1) The driver tries to import objc/Storage.h, which my trolling on the
> internet suggests is a standard part of OpenStep. But my scan of the
> Foundation and AppKit documentation suggests that this generic Storage
> class does not exist for Cocoa. Am I missing a class somewhere,
> or is an
> equivalent class included instead? If not could someone suggest a good
> substitute?

IIRC, Storage.h was the file that defined the List and
NXHashTable classes. Try commenting that line out, and see what
complaints you get.

>
> (2) The drawing code uses raw postscript drawing commands
> (references to
> the DPSContext are seen). The way this works is explained in a source
> comment:
>
> // PGView receives 132 byte character arrays filled with
> PostScript code.
> // PGView saves these buffers in a Storage object. When the PGPLOT
> // program executes a flushpg operation, this stored data is
> then sent to the
> // display.

What is the *source* of those character arrays filled with
PostScript code?

-jcr

"Scientology is evil; its techniques are evil; its practice is a
serious threat to the community, medically, morally, and
socially; and its adherents are sadly deluded and often mentally
ill... --Justice Anderson, Supreme Court of Victoria,
Australia


  • Follow-Ups:
    • Re: OpenStep Storage and DPSContext replacements?
      • From: Roberto Abraham <email@hidden>
  • Prev by Date: Re: CFNetwork?
  • Next by Date: Re: OpenStep Storage and DPSContext replacements?
  • Previous by thread: OpenStep Storage and DPSContext replacements?
  • Next by thread: Re: OpenStep Storage and DPSContext replacements?
  • Index(es):
    • Date
    • Thread