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 <fredkie...@gmx.de> 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
> Gnustep-dev@gnu.org
> https://lists.gnu.org/mailman/**listinfo/gnustep-dev<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
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to