• 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
Drawing on integral values? WAS proper boarder.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing on integral values? WAS proper boarder.


  • Subject: Drawing on integral values? WAS proper boarder.
  • From: John Brownlow <email@hidden>
  • Date: Tue, 12 Apr 2005 14:55:21 -0400

This is to do with either (a) not drawing on integral point values or (b) drawing on integral point values.

Recently somebody said on this list that you should only draw on integral values, like (1.0,1.0)... but elsewhere I have seen it asserted that the pixels on the Mac screen fall in-between integral values, so to draw a clean line you should use values like (0.5, 0.5).

Maybe someone could nail this for us.
On Apr 12, 2005, at 12:26 PM, Brian O'Brien wrote:

Is there a method to draw a boarder around an objects bounds?
ie. A simple rectangle is ok.. but usually the boarder is a mixture of grey and white.


--
John Brownlow
Deep Fried Films, Inc

http://www.johnbrownlow.com
http://www.pinkheadedbug.com

_______________________________________________
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: Drawing on integral values? WAS proper boarder.
      • From: Scott Thompson <email@hidden>
References: 
 >proper boarder. (From: "Brian O'Brien" <email@hidden>)

  • Prev by Date: debugger woes
  • Next by Date: Re: debugger woes
  • Previous by thread: Re: proper boarder.
  • Next by thread: Re: Drawing on integral values? WAS proper boarder.
  • Index(es):
    • Date
    • Thread