• 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: "Path arithmetic" support in Quartz
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Path arithmetic" support in Quartz


  • Subject: Re: "Path arithmetic" support in Quartz
  • From: Jonathan Hendry <email@hidden>
  • Date: Wed, 15 Feb 2006 14:49:36 -0500

You can have Quartz intersect a path with the current clipping path, but the result replaces the current clipping path and is not returned for use. A cursory look through the docs found no way to obtain the current context's clipping path.

If the context's clipping path could be obtained, then this would be a hacky way of getting intersected paths - as long as you saved state beforehand, and restored it afterward, so that the hack didn't change the clipping path used for actual drawing.

Assuming this could even be done, saving and restoring state might make it undesirable for heavy use.

- J

On Wednesday, February 15, 2006, at 02:23PM, Scott Thompson <email@hidden> wrote:

>
>On Feb 15, 2006, at 11:14 AM, Andrei Tchijov wrote:
>
>> Hi,
>> 	Does Quartz 2D provide any kind of support for "Path arithmetic"?
>> I am looking for functions which will take 2 paths and return new
>> path which is intersection (combination, ... ) of these 2 paths.
>> If such functionally exists, could some one please kindly point me
>> to any source of information about it.
>>
>> 	Any replies will be highly appreciated,
>
>There is none of that in Quartz 2D.  Quartz is a drawing system and
>it's geometric capabilities are geared toward drawing.
>
>Scott
>
> _______________________________________________
>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
>
>
 _______________________________________________
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

References: 
 >"Path arithmetic" support in Quartz (From: Andrei Tchijov <email@hidden>)
 >Re: "Path arithmetic" support in Quartz (From: Scott Thompson <email@hidden>)

  • Prev by Date: Re: "Path arithmetic" support in Quartz
  • Next by Date: Strange file system behavior
  • Previous by thread: Re: "Path arithmetic" support in Quartz
  • Next by thread: Custom Object in Attributed String
  • Index(es):
    • Date
    • Thread