gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display problem on x86-64bit / cairo


From: Gregory Casamento
Subject: Re: display problem on x86-64bit / cairo
Date: Fri, 1 Feb 2013 10:33:57 -0500

Fred,

I think we should change the DPS interfaces to use CFGloat and NSInteger, if this makes things easier.  It doesn't hurt to keep these interfaces, but I wonder if it might not be a good idea to consider moving to something modeled on the CoreGraphics API. 

GC




On Fri, Feb 1, 2013 at 8:53 AM, Fred Kiefer <address@hidden> wrote:
I made the next batch of changes, this time NSBezierPath and here I ran into a problem. Beside NSBzeierPath we still have the DPS functions and these get used as the interface to the backend. Now these old functions still use float and int and not CGFloat and NSInteger. After changing NSBezierPath over to CGFloat I had to copy dash patterns in a few places from a CGFloat array to a float array or the other way around.
This could be a lot simpler, if we changed the DPS/PS functions to use CGFlpat and NSInteger as well.
As far as I know Apple just dropped that function interface, they didn't have that problem. But we need a defined interface to the backend code.

My current change requires that you recompile both gui and back and of course your own application as well when it uses NSBezierPath directly.

Fred


_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev



--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]