• 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: setLineDash for grid lines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setLineDash for grid lines


  • Subject: Re: setLineDash for grid lines
  • From: glenn andreas <email@hidden>
  • Date: Thu, 16 Dec 2004 09:12:40 -0600


On Dec 16, 2004, at 6:27 AM, Lorenzo wrote:

Hi,
in my view I would like to draw a serie of grid lines as dotted lines.


Do you know a faster way to draw grid dotted lines in my view?



Make an image out of just one square of your grid (i.e., the horizontal and vertical line).


Then use [NSColor colorWithPatternImage: image] to create a pattern color that you can set and fill your entire view with.



Glenn Andreas                      email@hidden 
 <http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know

_______________________________________________
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: setLineDash for grid lines
      • From: Lorenzo <email@hidden>
References: 
 >setLineDash for grid lines (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: cross development on Jaguar
  • Next by Date: Re: cross development on Jaguar
  • Previous by thread: setLineDash for grid lines
  • Next by thread: Re: setLineDash for grid lines
  • Index(es):
    • Date
    • Thread