• 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: [Moderator] Re-posts (Re: How to draw correct underline ?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Moderator] Re-posts (Re: How to draw correct underline ?)


  • Subject: Re: [Moderator] Re-posts (Re: How to draw correct underline ?)
  • From: Eric Morand <email@hidden>
  • Date: Thu, 25 Aug 2005 23:52:55 +0200

Here is a link to a screenshot of what I call an ugly underline. This is the result of the code I've posted earlier (the custom view only drawing an underline text using sample Apple code) :

http://homepage.mac.com/eric.morand/.Pictures/Ugliness.jpg


As you can see, the line, which is supposed to be a single pixel line, is 2 pixels height and blurred.




Can someone use the code I've posted earlier and compare the result with this screenshot ?


Thanks by advance,



Eric.




Le 25 août 05 à 18:09, Eric Morand a écrit :

Sorry, I thought my problem was unnoticed.


By the way, can I post an image to show what the problem is ?


And by the way, every other lines in MacOSX are drawn perfectly. The problem only appears in my app.



Le 25 août 05 à 18:05, mmalcolm crawford a écrit :



On Aug 25, 2005, at 8:39 AM, Eric Morand wrote:



Now that you American fellows are awake, let me push that question up again ! :o)



If you do not receive a reply to your question, you should not repost except to add further material.
See <http://www.catb.org/~esr/faqs/smart-questions.html>



Regarding the issue at hand, I suspect that the "problem" is due to anti-aliasing. Using the code you provided, I don't see anything I'd regard as "ugly".


mmalc




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: [Moderator] Re-posts (Re: How to draw correct underline ?)
      • From: Scott Anguish <email@hidden>
References: 
 >How to draw correct underline ? (From: Eric Morand <email@hidden>)
 >Re: How to draw correct underline ? (From: Eric Morand <email@hidden>)
 >Re: How to draw correct underline ? (From: Eric Morand <email@hidden>)
 >[Moderator] Re-posts (Re: How to draw correct underline ?) (From: mmalcolm crawford <email@hidden>)
 >Re: [Moderator] Re-posts (Re: How to draw correct underline ?) (From: Eric Morand <email@hidden>)

  • Prev by Date: debugging: see ivars of superclass and in appkit methods
  • Next by Date: Re: Finding all subclasses of a class ?
  • Previous by thread: Re: [Moderator] Re-posts (Re: How to draw correct underline ?)
  • Next by thread: Re: [Moderator] Re-posts (Re: How to draw correct underline ?)
  • Index(es):
    • Date
    • Thread