Method: RBPDF#StopTransform
- Defined in:
- lib/rbpdf.rb
#StopTransform ⇒ Object Also known as: stop_transform
Stops a 2D tranformation restoring previous graphic state. This function must be called after scaling, mirroring, translation, rotation and skewing. Use StartTransform() before, and StopTransform() after the transformations to restore the normal behavior.
- @access public
- @since 2.1.000 (2008-01-07)
- @see
-
StartTransform(), StopTransform()
8819 8820 8821 8822 8823 8824 8825 8826 |
# File 'lib/rbpdf.rb', line 8819 def StopTransform out('Q'); if @transfmatrix[@transfmatrix_key] @transfmatrix[@transfmatrix_key].pop @transfmatrix_key -= 1 end @transfmrk[@page] = nil end |