• 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: [NEWBIE] how to.. ? drawing problems !!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NEWBIE] how to.. ? drawing problems !!


  • Subject: Re: [NEWBIE] how to.. ? drawing problems !!
  • From: Tommaso Pecorella <email@hidden>
  • Date: Sun, 29 Jul 2001 11:30:45 +0200

At 3:39 -0700 28/7/01, John C. Randolph wrote:
In the default coordinate system the integer values are between the pixels, so if you draw a line from (10,10) to (10,20), the line touches the pixels on both sides. If you draw from (10.5, 10), to (10.5, 20), the line should fall exactly in the center of the pixels.

Give it a try.

Thank for your quick response; indeed it works, even if I was pretty sure to have tried it before sending the e-mail...

I still think that the strokeLine bahavior is a bug, since the lineWidth should produce a line of no more than LineWidth, no matter where the origin points are, even when the antiAliasing is off...

However, when a bug is documented, it is called "feature", so I can't complain too much.

Thank you.

Best regards, Tom ;-{))


--
--------------------------------------------------------------------------
Ing. Tommaso Pecorella

snail-mail: e-mail :
via del Pergolino 8/a mailto:email@hidden
50139 Firenze - ITALY

RSA Key fingerprint = 232A D084 AD2F 7815 3D44 AFF0 AA52 A3AA
--------------------------------------------------------------------------


References: 
 >Re: [NEWBIE] how to.. ? drawing problems !! (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Installing/distributing frameworks
  • Next by Date: Text coloring
  • Previous by thread: Re: [NEWBIE] how to.. ? drawing problems !!
  • Next by thread: Sheet is "stopping" my thread...
  • Index(es):
    • Date
    • Thread