Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to draw a horizontal line in a NSTextView?



On Friday, December 6, 2002, at 04:13 , Arthur Clemens wrote:

It's probably simple, but I cannot find a way how to draw a horizontal line in a NSTextView.
What I have in mind is something similar to a <hr> tag in HTML: it gets wider as the text view is scaled.
I could use a NSBezierPath, but how to manage that it scrolls together with the text?

Read the big spiel about it on Apple's website. It is not trivial.

http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/ProgrammingTopics/
Misc/TextHandlingPage.html
_______________________________________________
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.

References: 
 >How to draw a horizontal line in a NSTextView? (From: Arthur Clemens <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.