[webkit-dev] Purpose of Path class?

2007-09-19 Thread Mayur Kankanwadi
Hi All, I have seen the Path class in WebCore and am not so sure as to what exactly is it's purpose? Can someone elaborate on this? Thanks in advance. BR. Mayur Kankanwadi. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent

Re: [webkit-dev] Purpose of Path class?

2007-09-19 Thread Oliver Hunt
The Path class provides an abstraction for paths drawn with a Canvas element, and for rendering paths in SVG. --Oliver On Sep 18, 2007, at 10:44 PM, Mayur Kankanwadi wrote: Hi All, I have seen the Path class in WebCore and am not so sure as to what exactly is it's purpose? Can someone

Re: [webkit-dev] Purpose of Path class?

2007-09-19 Thread eminemence
Thanks for the reply. So isn't this Path class something more specific to cairo? Also what is the exact use of a PATH if we can still break down operation into single operations and do it? Any advantages of having a path? BR. Mayur Kankanwadi. Oliver Hunt-2 wrote: The Path class provides an

Re: [webkit-dev] Purpose of Path class?

2007-09-19 Thread Oliver Hunt
Pardon? Path provides the abstraction for the path implementation of each platform's graphic library (eg. CoreGraphics, Qt, and Cairo). So we have to have a Path class if we want to be able to draw paths. --Oliver On Sep 19, 2007, at 3:07 AM, eminemence wrote: Thanks for the reply. So

Re: [webkit-dev] Purpose of Path class?

2007-09-19 Thread Maciej Stachowiak
On Sep 19, 2007, at 10:14 AM, Oliver Hunt wrote: Pardon? Path provides the abstraction for the path implementation of each platform's graphic library (eg. CoreGraphics, Qt, and Cairo). So we have to have a Path class if we want to be able to draw paths. Specifically it wraps a bezier