• 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: Repeating images for use as a background?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeating images for use as a background?


  • Subject: Re: Repeating images for use as a background?
  • From: Jan Van Boghout <email@hidden>
  • Date: Tue, 13 Aug 2002 19:20:34 +0200

Thanks for the reply, it worked perfectly!

Jan

Marco Scheurer heeft op dinsdag, 13 aug 2002 om 15:12 (Europe/Brussels) het volgende geschreven:

You can use a custom view and something like this:

- (void) drawRect:(NSRect) aRect
{
[[NSColor colorWithPatternImage:[NSImage imageNamed:@"tile"]] set];
NSRectFill (aRect);
}

Yes, images can be used as colors.

Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
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.

References: 
 >Re: Repeating images for use as a background? (From: Marco Scheurer <email@hidden>)

  • Prev by Date: Re: [TRTFM] Cocoa and AppleScript
  • Next by Date: Re: Documents which aren't NSDocuments
  • Previous by thread: Re: Repeating images for use as a background?
  • Next by thread: Re: Repeating images for use as a background?
  • Index(es):
    • Date
    • Thread