Skip navigation.
 
mlRe: Making a "shaped" NSImage
FROM : Marco Binder
DATE : Mon Nov 18 17:06:01 2002

Hi jeremy,

look into the setClipRect: methods of NSBezierPath!

Marco


Am Montag, 18.11.02 um 16:30 Uhr schrieb Jeremy Faller:

> 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_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
>
>

--
|\  /|      E-Mail: <email_removed>  WWW: www.marco-binder.de
| \/ |        Telefon: 07531 / 94 19 94  Fax: 07531 / 94 19 92
|    |ARCO        Snail-Mail: Banater Str. 3 - 78467 Konstanz
      BINDER _____________________________________________________
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlMaking a "shaped" NSImage Jeremy Faller Nov 18, 16:30
mlRe: Making a "shaped" NSImage Ondra Cada Nov 18, 16:59
mlRe: Making a "shaped" NSImage Marco Binder Nov 18, 17:06
mlRe: Making a "shaped" NSImage Dave Mattson Nov 18, 18:25
mlRe: Making a "shaped" NSImage John C. Randolph Nov 18, 23:46
mlRe: Making a "shaped" NSImage Marco Binder Nov 19, 11:07