• 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: NSStringAdditions drawAtPoint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSStringAdditions drawAtPoint


  • Subject: Re: NSStringAdditions drawAtPoint
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 29 Jun 2001 11:36:35 +0200

On jeudi, juin 28, 2001, at 11:33 PM, Tom Waters wrote:

Is there a bug in NSStringAdditions drawAtPoint: withAttributes:?

If you have a negative X or Y coordinate, it seems to change that axis to 0 and draw the string in the wrong place.

I would expect this example view to draw the string with the leftmost 100 pixels cut off the left edge, but instead it draws the whole string starting at X = 0.

Can someone please confirm that this is the case, then I'll file a bug.

I confirm the problem. I faced it while writing a ScreenSaver.


  • Follow-Ups:
    • Re: NSStringAdditions drawAtPoint
      • From: Gerard Iglesias <email@hidden>
References: 
 >NSStringAdditions drawAtPoint (From: Tom Waters <email@hidden>)

  • Prev by Date: Re: Files attributes
  • Next by Date: Re: store the NSPoint in an dictionary
  • Previous by thread: NSStringAdditions drawAtPoint
  • Next by thread: Re: NSStringAdditions drawAtPoint
  • Index(es):
    • Date
    • Thread