• 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: stylistic question (dotted outline)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stylistic question (dotted outline)


  • Subject: Re: stylistic question (dotted outline)
  • From: Jorge Ramirez <email@hidden>
  • Date: Thu, 11 Mar 2004 16:53:17 -0500

To create a dotted line, create a bezier path and then use the following method to set the dash style you would like...

-(void)setLineDash:(const float *)pattern count:(int)count phase:(float)phase


This is an example from the NSBezierPath documentation...
array[0] = 5.0; //segment painted with stroke color
array[1] = 2.0; //segment not painted with a color
[path setLineDash:array count:2 phase:0.0];




On Thursday, March 11, 2004, at 03:42PM, Francisco Tolmasky <email@hidden> wrote:

>As a mac user, I am always concerned not to do things that will later
>end in counter-intuitive results. For the program I am writing I have
>a "file drop area", kind of like the image one, only you drop the file
>you want to associate with the given object. I am planning on using a
>dotted outline much like iTunes has for its cover art. My question is
>a) is this dotted outline scheme reserved for image drag and drop, and
>b) if so, is there any "accepted" guideline. I don't think the dotted
>outline thing that we're starting to see shows up anywhere in the gui
>guidelines.
>
>Also, as a side note, is there a way to make a dotted outline path
>
>Thanks in advance,
>
>Francisco Tolmasky
>email@hidden
>http://www-scf.usc.edu/~tolmasky/
>_______________________________________________
>cocoa-dev mailing list | email@hidden
>Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Faceless app showing window?
  • Next by Date: Re: NSImageView drawing the NSImage...
  • Previous by thread: stylistic question (dotted outline)
  • Next by thread: [SOLVED] RE: TableView crash when scrolling to out of view rows
  • Index(es):
    • Date
    • Thread