Skip to content

Commit

Permalink
Fix indentation (no code changed)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Nesbitt committed May 2, 2016
1 parent ee8622d commit a86a22f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/prawn/svg/interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ def rewrite_call_arguments(prawn, call, arguments)
end

def clip_rectangle(x, y, width, height)
prawn.move_to x, y
prawn.line_to x + width, y
prawn.line_to x + width, y + height
prawn.line_to x, y + height
prawn.close_path
prawn.add_content "W n" # clip to path
prawn.move_to x, y
prawn.line_to x + width, y
prawn.line_to x + width, y + height
prawn.line_to x, y + height
prawn.close_path
prawn.add_content "W n" # clip to path
end
end
end
Expand Down

0 comments on commit a86a22f

Please sign in to comment.