• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
simple CATextLayer scaling problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simple CATextLayer scaling problem


  • Subject: simple CATextLayer scaling problem
  • From: "Julian." <email@hidden>
  • Date: Sun, 9 May 2010 11:44:50 +0200

I'm having a simple scaling problem with CATextLayer, but i just couldn't figure it out:
I want the CATextLayer to proportionally grow in size with it's superlayer:
if the superlayer's width is 300 the text size of CATextLayer should be 12 and if the supeview's width is 600 the text size should be 24.
I couldn't find a working solution!

Can you please give me a clue?



Thanks, Julian._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: simple CATextLayer scaling problem
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: how to cut and paste from an image to other image
  • Next by Date: Re: simple CATextLayer scaling problem
  • Previous by thread: Re: how to cut and paste from an image to other image
  • Next by thread: Re: simple CATextLayer scaling problem
  • Index(es):
    • Date
    • Thread