module Prawn::Document::Internals
This module exposes a few low-level PDF
features for those who want to extend Prawn’s core functionality. If you are not comfortable with low level PDF
functionality as defined by Adobe’s specification, chances are you won’t need anything you find here.
@private
Public Instance Methods
renderer()
click to toggle source
# File lib/prawn/document/internals.rb, line 62 def renderer @renderer ||= PDF::Core::Renderer.new(state) end
restore_graphics_state()
click to toggle source
# File lib/prawn/document/internals.rb, line 36 def restore_graphics_state restore_transformation_stack renderer.restore_graphics_state end
save_graphics_state(state = nil, &block)
click to toggle source
# File lib/prawn/document/internals.rb, line 31 def save_graphics_state(state = nil, &block) save_transformation_stack renderer.save_graphics_state(state, &block) end