Method: RBPDF#StartTransform
- Defined in:
- lib/rbpdf.rb
#StartTransform ⇒ Object Also known as: start_transform
Starts a 2D tranformation saving current graphic state. This function must be called before 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()
8803 8804 8805 8806 8807 8808 |
# File 'lib/rbpdf.rb', line 8803 def StartTransform out('q'); @transfmrk[@page] = @pagelen[@page] @transfmatrix_key += 1 @transfmatrix[@transfmatrix_key] = [] end |