[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: questions about GNUstep
From: |
Fred Kiefer |
Subject: |
Re: questions about GNUstep |
Date: |
Tue, 05 Jul 2005 23:40:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 |
Mark Frank wrote:
> * After looking at your on-line documentation, I am uncertain whether
> display post script is supported. I have some code inside a view such
> as,
> for(i=0; i<NUMBER_LINES; i++)
> {
> ...;
> userPathOps[op_ctr++] = dps_lineto;
> }
> if(i == NUMBER_LINES)
> start--;
> PSDoUserPath(userPathPts, point_ctr, dps_float, userPathOps,
> op_ctr, bbox, dps_ustroke);
> Does GNUstep support this type of code, and if not, what should I use instead.
No, this has not been implemented in GNUstep. I would suggest that you
build up an NSBezierPath instead and use this to draw. Other parts o
Display Postscript are available, but we are moving away from it as the
main drawing interface.
> * I have also have an interest in interfacing Objective-C code to
> C/C++. Is there any documentation on how to do this.
Interfacing with C should cause no problem. For C++ I would recommend
that you wait until gcc with mixed c++ and Objective-C support becomes
available for Windows.
> * I was also somewhat confused about the support for frameworks.
> Currently, I am using frameworks under OpenStep on Windows, but your
> documentation seems to indicate that this is not the preferred method.
> What should I use instead?
Nicola has been researching on this recently. Best he comments on this.