class PDF::Inspector::Graphics::State

Attributes

restore_graphics_state_count[R]
save_graphics_state_count[R]

Public Class Methods

new() click to toggle source
# File lib/pdf/inspector/graphics.rb, line 137
def initialize
  @save_graphics_state_count    = 0
  @restore_graphics_state_count = 0
end

Public Instance Methods

restore_graphics_state(*) click to toggle source
# File lib/pdf/inspector/graphics.rb, line 146
def restore_graphics_state(*)
  @restore_graphics_state_count += 1
end
save_graphics_state(*) click to toggle source
# File lib/pdf/inspector/graphics.rb, line 142
def save_graphics_state(*)
  @save_graphics_state_count += 1
end