Skip to content

Commit

Permalink
Transform() method name changed to transform().
Browse files Browse the repository at this point in the history
  • Loading branch information
naitoh committed Dec 25, 2023
1 parent d1ce7b9 commit 49e4064
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rbpdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8850,7 +8850,7 @@ def Rotate(angle, x="", y="")
tm[5] = y - tm[0] * y - tm[1] * x

# generate the transformation matrix
Transform(tm)
transform(tm)
end
alias_method :rotate, :Rotate

Expand All @@ -8861,7 +8861,7 @@ def Rotate(angle, x="", y="")
# [@since 2.1.000 (2008-01-07)]
# [@see] StartTransform(), StopTransform()
#
def Transform(tm)
def transform(tm)
out(sprintf('%.3f %.3f %.3f %.3f %.3f %.3f cm', tm[0], tm[1], tm[2], tm[3], tm[4], tm[5]))
# add tranformation matrix
@transfmatrix[@transfmatrix_key].push 'a' => tm[0], 'b' => tm[1], 'c' => tm[2], 'd' => tm[3], 'e' => tm[4], 'f' => tm[5]
Expand All @@ -8870,7 +8870,7 @@ def Transform(tm)
@transfmrk[@page] = @pagelen[@page]
end
end
protected :Transform
protected :transform

# END TRANSFORMATIONS SECTION -------------------------

Expand Down

0 comments on commit 49e4064

Please sign in to comment.