CloneSet686


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18220.965SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116202
Closure/closure/goog/graphics/canvasgraphics.js
218314
Closure/closure/goog/graphics/svggraphics.js
Clone Instance
1
Line Count
16
Source Line
202
Source File
Closure/closure/goog/graphics/canvasgraphics.js

/**
 * Changes the coordinate system position.
 * @param {number} left The coordinate system left bound.
 * @param {number} top The coordinate system top bound.
 */
goog.graphics.CanvasGraphics.prototype.setCoordOrigin=  function (left, top){
  this.coordLeft=  left;
  this.coordTop=  top;
  this.redraw( );
                                                                            } ;


/**
 * Changes the coordinate size.
 * @param {number} coordWidth The coordinate width.
 * @param {number} coordHeight The coordinate height.
 */
goog.graphics.CanvasGraphics.prototype.setCoordSize=  function (coordWidth,
                                                                coordHeight){
  goog.graphics.CanvasGraphics.superClass_.setCoordSize.apply(this, arguments);
  this.redraw( );
                                                                            } ;


Clone Instance
2
Line Count
18
Source Line
314
Source File
Closure/closure/goog/graphics/svggraphics.js

/**
 * Changes the coordinate system position.
 * @param {number} left The coordinate system left bound.
 * @param {number} top The coordinate system top bound.
 */
goog.graphics.SvgGraphics.prototype.setCoordOrigin=  function (left, top){
  this.coordLeft=  left;
  this.coordTop=  top;

  this.setViewBox_( );
                                                                         } ;


/**
 * Changes the coordinate size.
 * @param {number} coordWidth The coordinate width.
 * @param {number} coordHeight The coordinate height.
 */
goog.graphics.SvgGraphics.prototype.setCoordSize=  function (coordWidth,
     coordHeight){
  goog.graphics.SvgGraphics.superClass_.setCoordSize.apply(
      this, arguments);
  this.setViewBox_( );
                 } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Changes the coordinate system position.
 * @param {number} left The coordinate system left bound.
 * @param {number} top The coordinate system top bound.
 */
goog.graphics. [[#variable62fdc900]].prototype.setCoordOrigin= function (left,top)
                                                               { this.coordLeft=left;
                                                                 this.coordTop=top;
                                                                 this. [[#variable62fdc840]]( );
                                                               } ;
/**
 * Changes the coordinate size.
 * @param {number} coordWidth The coordinate width.
 * @param {number} coordHeight The coordinate height.
 */
goog.graphics. [[#variable62fdc900]].prototype.setCoordSize= function (coordWidth,coordHeight)
                                                             { goog.graphics. [[#variable62fdc900]].superClass_.setCoordSize.apply(this,arguments);
                                                               this. [[#variable62fdc840]]( );
                                                             } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62fdc900]]
SvgGraphics 
12[[#62fdc900]]
CanvasGraphics 
21[[#62fdc840]]
setViewBox_ 
22[[#62fdc840]]
redraw