Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Appearance Manager Gurus



I am not an Appearance guru by any stretch of the imagination, but...

You could assume depth is 1 (B & W) and test if the port is color. If so,
use GetPortPixMap and subsequently GetPixDepth to determine the depth.

On 2/28/02 11:31 AM, "Umed Zokirov" <email@hidden> wrote:

> Hi there
> I would like to call GetThemeBrushAsColor function, however I don't know
> where can I obtain the bit depth
> of the current port? Is there a QuickDraw call for that?
>
> Thanks in advance, Umed
> _______________________________________________
> carbon-development mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/carbon-development
> Do not post admin requests to the list. They will be ignored.
>


--
Kris Amico <email@hidden>
Senior Software Engineer
Macintosh Client Software Development
EarthLink, Inc.
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Appearance Manager Gurus (From: "Umed Zokirov" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.