Class: Tabula::Extraction::LineExtractor::MoveToOperator
- Inherits:
-
OperatorProcessor
- Object
- OperatorProcessor
- Tabula::Extraction::LineExtractor::MoveToOperator
- Defined in:
- lib/tabula/pdf_line_extractor.rb
Instance Method Summary collapse
Instance Method Details
#process(operator, arguments) ⇒ Object
95 96 97 98 99 100 101 102 |
# File 'lib/tabula/pdf_line_extractor.rb', line 95 def process(operator, arguments) drawer = self.context x, y = arguments[0], arguments[1] ppos = drawer.TransformedPoint(x.floatValue, y.floatValue) drawer.currentX, drawer.currentY = ppos.getX, ppos.getY end |