Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331526 - VMLCanvas - js-method bezierCurveTo has an error
Summary: VMLCanvas - js-method bezierCurveTo has an error
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 06:56 EST by Eric Peukert CLA
Modified: 2010-12-01 08:08 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Peukert CLA 2010-12-01 06:56:21 EST
Build Identifier: 

The js-file for the VMLCanvas contains a small typo-error for the following method. A fix is attached.

old:
bezierCurveTo : function( cpx1, cpy1, cpx2, cpy2, x, y ) {
      this._currentPath.push( {
        "type" : 'bezierCurveTo',
        "cp1x" : cp1x,
        "cp1y" : cp1y,
        "cp2x" : cp2x,
        "cp2y" : cp2y,
        "x"    : x,
        "y"    : y
      } );
    },  

new:
bezierCurveTo : function( cpx1, cpy1, cpx2, cpy2, x, y ) {
      this._currentPath.push( {
        "type" : 'bezierCurveTo',
        "cp1x" : cpx1,
        "cp1y" : cpy1,
        "cp2x" : cpx2,
        "cp2y" : cpy2,
        "x"    : x,
        "y"    : y
      } );
    },

Reproducible: Always
Comment 1 Ivan Furnadjiev CLA 2010-12-01 08:08:05 EST
Fixed in CVS HEAD.