• 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: How do I pattern an image in a view w/o "scrolling"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I pattern an image in a view w/o "scrolling"?


  • Subject: Re: How do I pattern an image in a view w/o "scrolling"?
  • From: "Alan Smith" <email@hidden>
  • Date: Fri, 28 Jul 2006 11:45:12 -0400

Micheal -
I have indeed used colorWithPatternImage. I set that and then used
NSBezierPath's fillRect and NSRectFill. It has that "scrolling" which
was in my original post. It doesn't quite work.

I think it would work to fill a rect with colorWithPatternImage and
then grab a select piece of that filled rect and use that as the
image. The only problem is that I can't figure out how to get the
contents of the rect without first drawing it on screen. I don't want
to do that.

Shawn -
That probably would work but I want this to work on 10.2. CGLayers
originated in 10.4. Thanks anyways.

Thanks guys, we're real close, Alan

--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"Don't waste your life doing things others have already done."
_______________________________________________
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: How do I pattern an image in a view w/o "scrolling"?
      • From: glenn andreas <email@hidden>
References: 
 >How do I pattern an image in a view w/o "scrolling"? (From: "Alan Smith" <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: "I. Savant" <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: "Alan Smith" <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: "I. Savant" <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: "Alan Smith" <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: Michael Watson <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: Michael Watson <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: Michael Watson <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: "Alan Smith" <email@hidden>)
 >Re: How do I pattern an image in a view w/o "scrolling"? (From: Michael Watson <email@hidden>)

  • Prev by Date: Re: Show/Hide columns in NSTableView?
  • Next by Date: Re: Get Machine Type string
  • Previous by thread: Re: How do I pattern an image in a view w/o "scrolling"?
  • Next by thread: Re: How do I pattern an image in a view w/o "scrolling"?
  • Index(es):
    • Date
    • Thread