• 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
Making a "shaped" NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making a "shaped" NSImage


  • Subject: Making a "shaped" NSImage
  • From: Jeremy Faller <email@hidden>
  • Date: Mon, 18 Nov 2002 07:30:16 -0800 (PST)

All:

Hello everyone. I have a question that I'm sure is pretty easy, although I haven't quite been able to smurf it.

Let's pretend that I have an NSBezierPath that describes some region, and I would like to draw an NSImage ONLY in the path. I'm not concerned right now with alpha, or any other component of the image. Additionally, to make it easy, let's assume the path is blackColor. Does anyone know how to do this?


Thanks in advance.

- Jeremy Faller.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Making a "shaped" NSImage
      • From: "John C. Randolph" <email@hidden>
    • Re: Making a "shaped" NSImage
      • From: Marco Binder <email@hidden>
    • Re: Making a "shaped" NSImage
      • From: Ondra Cada <email@hidden>
  • Prev by Date: First cocoa app & crashes
  • Next by Date: Re: How to attach a formatter with a NSTableColumn
  • Previous by thread: Re: First cocoa app & crashes
  • Next by thread: Re: Making a "shaped" NSImage
  • Index(es):
    • Date
    • Thread