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: DrawThemeTextBox and the clip



On May 12, 2005, at 09:57 AM, Steve Mills wrote:

Should DrawThemeTextBox respect the CGContextRef's clip when a context is passed into it? It's not. I was able to get it to clip by clipping the QD port with ClipRect. It just seems a little odd that if a context is passed in it doesn't respect the context's clip, but still uses other attributes of the context like color, etc.

My presumption would be that it still has to use QD semantics to be compatible with the drawing model that is expected of it. If you want simple Quartz savvy text editing, then use HIThemeDrawTextBox() instead (requires 10.3)


--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.

David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden
References: 
 >DrawThemeTextBox and the clip (From: "Steve Mills" <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.