module PDF::Core
Public Class Methods
real(num)
click to toggle source
# File lib/asciidoctor/pdf/ext/pdf-core.rb, line 6 def real num num.to_f.round 4 end
Also aliased as: _initial_real
real_params(array)
click to toggle source
# File lib/asciidoctor/pdf/ext/pdf-core.rb, line 11 def real_params array return array.map {|it| it.to_f.round 5 }.join ' ' if (caller_locations 1, 1)[0].base_label == 'transformation_matrix' _initial_real_params array end
Also aliased as: _initial_real_params