<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>82790</bug_id>
          
          <creation_ts>2012-03-30 15:36:58 -0700</creation_ts>
          <short_desc>Support Path primitives</short_desc>
          <delta_ts>2013-01-08 14:28:29 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Canvas</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>97333</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>82792</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dean Jackson">dino</reporter>
          <assigned_to name="Dean Jackson">dino</assigned_to>
          <cc>dongseong.hwang</cc>
    
    <cc>eoconnor</cc>
    
    <cc>guanqun.lu</cc>
    
    <cc>junov</cc>
    
    <cc>kangax</cc>
    
    <cc>krit</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>592565</commentid>
    <comment_count>0</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-03-30 15:36:58 -0700</bug_when>
    <thetext>Canvas v5 API has Path primitives
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>592566</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-03-30 15:37:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/11159162&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661005</commentid>
    <comment_count>2</comment_count>
    <who name="Dongseong Hwang">dongseong.hwang</who>
    <bug_when>2012-06-29 23:20:23 -0700</bug_when>
    <thetext>Canvas v5 API has Path interface, and it is conflict with platform/graphics/Path.h

One of both needs to change the name.

interface Path {
  void addPath(Path path, SVGMatrix? transformation);
  void addPathByStrokingPath(Path path, CanvasDrawingStyles styles, SVGMatrix? transformation);
  void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
  void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
  void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path path, optional unrestricted double maxWidth);
  void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path path, optional unrestricted double maxWidth);
};</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661006</commentid>
    <comment_count>3</comment_count>
    <who name="Dongseong Hwang">dongseong.hwang</who>
    <bug_when>2012-06-29 23:24:31 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Canvas v5 API has Path interface, and it is conflict with platform/graphics/Path.h
&gt; 
&gt; One of both needs to change the name.
Sorry.
I understand now that platform/graphics/Path.h can implement CanvasPathMethods, and there is no problem.

&gt; 
&gt; interface Path {
&gt;   void addPath(Path path, SVGMatrix? transformation);
&gt;   void addPathByStrokingPath(Path path, CanvasDrawingStyles styles, SVGMatrix? transformation);
&gt;   void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
&gt;   void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
&gt;   void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path path, optional unrestricted double maxWidth);
&gt;   void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path path, optional unrestricted double maxWidth);
&gt; };</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>802652</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2013-01-08 14:28:29 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 97333 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>