• 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
Neatly fitting a dash to a rect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Neatly fitting a dash to a rect


  • Subject: Neatly fitting a dash to a rect
  • From: Graham Cox <email@hidden>
  • Date: Thu, 12 Dec 2013 13:54:58 +0100

Does anyone have code or at least an outline of how to adjust a dash so that it fits exactly to the corners of a rectangle?

The dash itself is supplied, but may be minimally adjusted in both phase and length of any of its elements to fit, such that the rect corners lie exactly in the centre of a solid part of the dash. It only needs to work for rects.


—Graham



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Neatly fitting a dash to a rect
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: Threaded drawing
  • Next by Date: Re: Neatly fitting a dash to a rect
  • Previous by thread: Re: help with logic error
  • Next by thread: Re: Neatly fitting a dash to a rect
  • Index(es):
    • Date
    • Thread