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: wrapping text?



Cool, I overlooked that. Looks like it would cover that topic. Still, I'm using mixed font style, color, etc, so rendering an NSAttributedString to an image and passing it to the quartz comp is working well for me.

Speaking of which, how would one check to see if an input port has a valid image on it or not? I'm setting the port to nil when I'm not using it, and it would be useful to check for that before trying to do stuff with it.

You can use a couple input splitters in a schema like this:

PNG image


Connecting an image output to a boolean input makes the boolean true only if there's an image


________________________________________________________
Pierre-Olivier Latour                            	email@hidden
Quartz Composer Team				Apple Computer, Inc.



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

This email sent to email@hidden

References: 
 >wrapping text? (From: Eric Blanpied <email@hidden>)
 >Re: wrapping text? (From: Troy Koelling <email@hidden>)
 >Re: wrapping text? (From: Eric Blanpied <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.