original_string: public function relativePosition(Size $size)
      {
          $x = $this->pivot->x - $size->pivot->x;
          $y = $this->pivot->y - $size->pivot->y;
  
          return new Point($x, $y);
      }
code: public function relativePosition(Size $size)
      {
          $x = $this->pivot->x - $size->pivot->x;
          $y = $this->pivot->y - $size->pivot->y;
  
          return new Point($x, $y);
      }
code_tokens: public function relativePosition ( Size $ size ) { $ x = $ this -> pivot -> x - $ size -> pivot -> x ; $ y = $ this -> pivot -> y - $ size -> pivot -> y ; return new Point ( $ x , $ y ) ; }
docstring: Calculate the relative position to another Size
  based on the pivot point settings of both sizes.
  
  @param  Size   $size
  @return \Intervention\Image\Point
docstring_tokens: Calculate the relative position to another Size based on the pivot point settings of both sizes .