• 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
Re: irregular shaped TextContainer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: irregular shaped TextContainer


  • Subject: Re: irregular shaped TextContainer
  • From: "Martin" <email@hidden>
  • Date: Mon, 02 Oct 2006 15:53:41 -0700

>I am creating different irregular shapes in my cocoa
>application. I want to set text Container for those
>shapes.

Apple has nicely provided a few override points that you can use to calculate whatever kind of text regions you like. Please read:

http://developer.apple.com/documentation/Cocoa/Conceptual/TextLayout/Concepts/CalcTextLayout.html#//apple_ref/doc/uid/20000847

If you are trying to draw text along non-horizontal paths, then see the CircleView project in Apple's developer examples.

~Martin

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Change titlecolor from NSWindow
  • Next by Date: NSTabView and interface drawing artifacts
  • Previous by thread: Seeking an experienced Mac Developer
  • Next by thread: NSTabView and interface drawing artifacts
  • Index(es):
    • Date
    • Thread