• 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: Unwanted clip of rotated text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unwanted clip of rotated text


  • Subject: Re: Unwanted clip of rotated text
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 24 Feb 2004 09:38:50 -0800

On Feb 23, 2004, at 7:03 PM, Erez Anzel wrote:

Thanks, Allan, for hinting that I should stop banging my head against
the wall. If you had problems with undesired clipping as well, then I
should look elsewhere. You pointed me towards ATSU, which smelled of
Carbon. So instead I looked to the CircleView example from Apple
(AppKit), and "simplified" it. It sure is "expensive" code just to
rotate text 90 degrees; maybe one day Cocoa will have something
simpler, waiting for the taking.

You're on the right track here, but you could save a lot of the work and code by not drawing each glyph individually. The CircleView example needs a different transform for each glyph, but you don't--you can just perform one overall transform, then ask for all of the glyphs to be drawn at once.

We know about clipping problems under some circumstances with the stock string drawing code, but unfortunately it's very difficult to make changes in this area due to backward compatibility issues. We are working on potential solutions for this.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Unwanted clip of rotated text
      • From: Erez Anzel <email@hidden>
References: 
 >Unwanted clip of rotated text (From: Erez Anzel <email@hidden>)
 >Re: Unwanted clip of rotated text (From: Allan Odgaard <email@hidden>)
 >Re: Unwanted clip of rotated text (From: Erez Anzel <email@hidden>)

  • Prev by Date: NSHFSTypeCodeFromFileType() == 0?
  • Next by Date: Re: NSHFSTypeCodeFromFileType() == 0?
  • Previous by thread: Re: Unwanted clip of rotated text
  • Next by thread: Re: Unwanted clip of rotated text
  • Index(es):
    • Date
    • Thread