• 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
Text Containers in NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text Containers in NSView


  • Subject: Text Containers in NSView
  • From: Gordon Apple <email@hidden>
  • Date: Mon, 05 Feb 2007 14:42:55 -0600

    I've already read a bunch of archives on flipped text.  I notice that
Sketch cops out by using a flipped coordinate system.  The issue is drawing
text inside a draw object.  I have a few questions:

1.  For drawing environments, are most apps using flipped or unflipped
coordinate views in OSX?

2.  If using a unflipped NSView, is it simply a matter of flipping the
context (and proper positioning) when doing text drawing?

3.  When computing a text layout using a NSTextContainer, it looks like I
will need to flip both the context and invert (i.e., transform) the Bezier
path text container using transformUsingAffineTransform?

4.  I assume I'll have to also use the flipped Bezier container when editing
test in a temporary floating view.

5.  Is there a more reasonable way to do this?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Prev by Date: Re: Customize NSAlert?
  • Next by Date: [MEET] Los Angeles CocoaHeads meeting Feb 8th 7pm
  • Previous by thread: Re: Releasing WebView
  • Next by thread: [MEET] Los Angeles CocoaHeads meeting Feb 8th 7pm
  • Index(es):
    • Date
    • Thread