[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing assumption of unsigned long pixel values for colours
From: |
mituharu |
Subject: |
Re: Removing assumption of unsigned long pixel values for colours |
Date: |
Mon, 6 May 2019 18:18:29 +0900 |
User-agent: |
SquirrelMail/1.4.22-5.el6 |
> On Sat, May 04, 2019 at 05:04:43PM -0600, Alex Gramiak wrote:
>>
>> It might also help simplify the NS side to use NSColor objects directly
>> rather than using the unsigned long values as indices to an
>> ns_color_table (CC'd Alan to confirm/deny).
>
> Unfortunately I don’t know too much about this area, but it certainly
> looks like it might simplify things. It seems like there’s a lot of
> conversion from NSColor, to unsigned long, which must then be
> converted back to NSColor for drawing.
In the Mac port, CGColor objects are encapsulated into GC, and
conversion from unsigned long only happens when setting GC
foreground/background values.
YAMAMOTO Mitsuharu
address@hidden
- Re: Removing assumption of unsigned long pixel values for colours, (continued)
- Re: Removing assumption of unsigned long pixel values for colours, Alex Gramiak, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Eli Zaretskii, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Alex Gramiak, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Eli Zaretskii, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Alex Gramiak, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Eli Zaretskii, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Eli Zaretskii, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Alex Gramiak, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Eli Zaretskii, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours, Alan Third, 2019/05/06
- Re: Removing assumption of unsigned long pixel values for colours,
mituharu <=
- Re: Removing assumption of unsigned long pixel values for colours, Eli Zaretskii, 2019/05/06