• 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
NSString drawInRect clipping control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString drawInRect clipping control


  • Subject: NSString drawInRect clipping control
  • From: "Mark's Studio" <email@hidden>
  • Date: Wed, 23 Jan 2002 10:34:56 +0100

When i draw a string in a rect and the string
is longer that the width of the rect, it is clipped
after the first space, if the rest of the string don't fit

AAAA BBBBCCCCDDDD

will only draw

AAAA

if i have one long string

AAAABBBBCCCCDDDD

will draw as much of the string that fits into the rect

AAAABBBBCCCC

how do i control where its clipped?

Thanks
Peter Mark

Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden


  • Follow-Ups:
    • Re: NSString drawInRect clipping control
      • From: Douglas Davidson <email@hidden>
    • Re: NSString drawInRect clipping control
      • From: Markus Hitter <email@hidden>
  • Prev by Date: Touch conditionally
  • Next by Date: Re: Initializing an Array
  • Previous by thread: Re: Touch conditionally
  • Next by thread: Re: NSString drawInRect clipping control
  • Index(es):
    • Date
    • Thread