Re: NSImageRep.imageFileTypes() doesnt work...
Re: NSImageRep.imageFileTypes() doesnt work...
- Subject: Re: NSImageRep.imageFileTypes() doesnt work...
- From: Marco Binder <email@hidden>
- Date: Wed, 31 Jul 2002 12:28:26 +0200
>
NSBezierPaths don't have pixels.
>
>
If you want all of the points that define a path, you can get them like
>
this:
Thanks. Of course i know, that a NSBezierPath does not "have" pixels; was a
bad way to put it, I guess. I wanted to access all the "integer points"
(what I called pixels) INSIDE the path area (so
[myPath.containsPoint:testpoint] would return YES).
Anyway, I probably ask too much of the class.
But: can anyone maybe give me a fast way to calculate the area (you know,
square piixels, em, sorry, square points) of an NSBezierPath object (i guess
I could do it for rects and ovals, but freeform gets problematic... I havent
studied maths or IT...).
marco
_______________________________________________
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.